Navigation

Operators and Keywords

Function List:

C++ API

fullfile.m File Reference


Functions

 if (nargs > 1) filename
 if (strcmp(filename(end), filesep)) filename(end)
 if (i< nargs &&strcmp(tmp(end), filesep)) tmp(end)
 elseif (i==nargs &&strcmp(tmp, filesep)) tmp
endfor elseif (nargs==1) filename
endif else print_usage ()
 !assert (fullfile(""),"")%!assert(fullfile(fs)
fs !assert (fullfile("", fs), fs)%!assert(fullfile(fs
fs fs!assert (fullfile("","x"),"x")%!assert(fullfile("x"
fs fs x x !assert (fullfile("","x",""),"x")%!assert(fullfile("x"
fs fs x x xfsy !assert (fullfile("x","","y"), xfsy)%!assert(fullfile("x"
fs fs x x xfsy xfsy !assert (fullfile("","x","","y",""), xfsy)%!assert(fullfile(fs)
fs fs x x xfsy xfsy fs !assert (fullfile(fs, fs), fs)%!assert(fullfile(fs
fs fs x x xfsy xfsy fs fsx !assert (fullfile(fs, xfs), fsxfs)%!assert(fullfile(fsx

Variables

function filename
 nargs = numel (varargin)
endif for i
endif endfunction!shared fs
endif endfunction!shared fsx
endif endfunction!shared xfs
endif endfunction!shared fsxfs
endif endfunction!shared xfsy !fs = filesep ()
 !fsx = cstrcat (fs, "x")
 !xfs = cstrcat ("x", fs)
 !fsxfs = cstrcat (fs, "x", fs)
 !xfsy = cstrcat ("x", fs, "y")
fs fs x x y
fs fs x x xfsy xfsy fs x

Function Documentation

fs fs x x xfsy xfsy fs fsx !assert ( fullfile(fs, xfs ,
fsxfs   
)

Type Constraints

fs fs x x xfsy xfsy fs !assert ( fullfile(fs, fs ,
fs   
)

fs fs x x xfsy xfsy !assert ( fullfile("","x","","y","")  ,
xfsy   
)

Type Constraints

fs fs x x xfsy !assert ( fullfile("x","","y")  ,
xfsy   
)

Type Constraints

fs fs x x !assert ( fullfile("","x","")  ,
"x"   
)

fs fs x !assert ( fullfile("","x")  ,
"x"   
)

fs !assert ( fullfile("", fs ,
fs   
)

!assert ( fullfile("")  ,
""   
)

endfor elseif ( nargs  = =1  ) 

elseif ( = =nargs &&strcmp(tmp, filesep)  ) 

if (  ) 

if ( strcmp(filename(end), filesep  ) 

if ( nargs  ,
 
)

endif else print_usage (  ) 


Variable Documentation

endif endfunction !shared xfsy !fs = filesep ()

!fsx = cstrcat (fs, "x")

!fsxfs = cstrcat (fs, "x", fs)

!xfs = cstrcat ("x", fs)

!xfsy = cstrcat ("x", fs, "y")

Initial value:

 fullfile (varargin)

  if (nargin > 0)

    varargin(cellfun (@isempty, varargin)) = []

fs fs x x xfsy xfsy fs fsx fs

Initial value:

nargs = numel (varargin)

fs fs x x xfsy xfsy fs x

fs fs x x xfsy y