Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


GetPath.m File Reference

Go to the source code of this file.


Functions

 if (N==0)
 if (isempty(i))
 elseif (max(i)==N)

Variables

 function [err, p, f]
initailize return variables err = 1
 p = ''
 f = ''
 N = length(s)
 return
 end [i] = findstr(s,'/')

Function Documentation

elseif max(i)  = =N  ) 
 

if isempty(i)   ) 
 

clf if N  = = 0  ) 
 


Variable Documentation

end[i] = findstr(s,'/')
 

Definition at line 42 of file GetPath.m.

end err = 1
 

Definition at line 55 of file GetPath.m.

end f = ''
 

Referenced by array_to_matrix(), array_to_vector(), backup(), balanc_(), basis_legendre(), basym(), bqr_(), bsSetStream(), calculate_acontrasts(), calculate_adifferences(), calculate_ameans(), calculate_bcontrasts(), calculate_bdifferences(), calculate_bmeans(), calculate_fa(), calculate_fab(), calculate_fb(), calculate_ftr(), calculate_results(), calculate_ss0(), calculate_ssa(), calculate_ssab(), calculate_ssb(), calculate_sse(), calculate_ssi(), calculate_ssij(), calculate_ssijk(), calculate_ssj(), calculate_sstr(), calculate_sum(), calculate_xcontrasts(), calculate_xdifferences(), calculate_xmeans(), cbal_(), cdff(), cdffnc(), center_of_mass(), cl1_fort(), clset_(), corth_(), cub_shift(), cub_shift2(), cumf(), cumfnc(), DRAW_ttatlas_CB(), dsort(), err__fl(), f__canseek(), fft_shift2(), float_list_alloc(), float_list_comp_mode(), float_list_slow_sort(), free(), fseek_(), fstat_p2t(), fstat_t2p(), fstat_t2pp(), ft_shift2(), ft_xshear(), ft_yshear(), ftell_(), get_input_stream(), Gif_FullReadFile(), Gif_FullWriteFile(), Gif_ReadFile(), Gif_WriteFile(), hept_shift(), hept_shift2(), htrid3_(), htridi_(), identify_repeats(), imtql1_(), imtql2_(), imtqlv_(), ind_printf(), initialize_filters(), InitRLE(), input_stream(), InvertSym3(), lin_shift(), lin_shift2(), main(), make_plot(), memplt_(), minfit_(), mkext(), mkext1(), mkfield(), mri_3dalign_setup(), MRI_5blur_inplace_3D(), mri_brainormalize(), mri_multiply_complex(), mri_short2mask(), mri_warp3d_align_one(), mri_warp3D_align_setup(), nn_shift(), nn_shift2(), nn_shift_byte(), orthes_(), output_information(), pareval_(), parevec_(), phline_(), pipe_color_transformer(), pm_closer(), pm_closew(), pm_openr(), pm_openw(), poly_field(), quint_shift(), quint_shift2(), ratqr_(), read_colormap_file(), read_input_data(), read_text_colormap(), realloc(), remove_field(), report_results(), safe_puts(), set_(), setlin_(), setr_(), shear_xzyx(), SHIFT_two_rows(), srface_(), SUMA_Cart2Sph(), SUMA_FromToRotation(), SUMA_IV_FaceSetsextract(), SUMA_IV_XYZextract(), SUMA_SendToAfni(), SUMA_SendToSuma(), SUMA_Sph2Cart(), svd_(), SwapVoxels(), THD_autonudge(), tql1_(), tql2_(), tqli(), tqlrat_(), tred1_(), tred2(), tred2_(), tred3_(), trn32s_(), ts_shift(), ts_shift2(), ts_shift_2byte(), ts_shift_byte(), vector_to_array(), VPCheckClassifier(), VPCheckVoxelFields(), vpCreateMinMaxOctree(), wavelet_analysis(), write_bucket_data(), write_ioblocks(), write_stream(), ztone_(), zzaxxx_(), zzaxyy_(), zzclip_(), zzlabl_(), zzlgin_(), zzlinx_(), zzliny_(), zzlogx_(), zzlogy_(), and zzphys_().

function[err, p, f]
 

Initial value:

 GetPath (s)
%
%   [err,PathString,FileString] = GetPath (s)
%
%Purpose:
%   Breaks the string s into a path and file part
%   
%   
%Input Parameters:
%   s is a string like How/Didley/Doo
%   
%   
%Output Parameters:
%   err : 0 No Problem
%       : 1 Mucho Problems
%   
%   PathString is a string like How/Didley
%   FileString is a string like Doo
%      
%More Info :
%   
%   
%   
%
%     Author : Ziad Saad
%     Date : Thu Apr 23 11:41:06 CDT 1998 


%Define the function name for easy referencing
FuncName = 'GetPath'

Definition at line 1 of file GetPath.m.

N = length(s)
 

Definition at line 37 of file GetPath.m.

else p = ''
 

Definition at line 50 of file GetPath.m.

return
 

Definition at line 56 of file GetPath.m.

 

Powered by Plone

This site conforms to the following standards: