Navigation

Operators and Keywords

Function List:

C++ API

rundemos.m File Reference


Functions

function rundemos (directory) if(nargin
 elseif (nargin==1) if(is_absolute_filename(directory)) dirs
 if (!isempty(fullname)) dirs
else error ("rundemos: expecting argument to be a directory name")
endif endif else print_usage ()
 run_all_demos (d)
endfor endfunction function run_all_demos (directory) dirinfo
 if (length(f) > 2 &&strcmp(f((end-1):end),".m")) f
 if (has_demos(f)) demo(f)

Variables

else fullname = find_dir_in_path (directory)
endif for i
 flist = {dirinfo.name}

Function Documentation

elseif ( nargin  = =1  ) 

else error ( "rundemos: expecting argument to be a directory name  ) 

if ( has_demos(f)   ) 

if ( length(f)  ,
2 &&  strcmpf((end-1):end),".m" 
)

if ( isemptyfullname  ) 

endif endif else print_usage (  ) 

endfor endfunction function run_all_demos ( directory   ) 

run_all_demos (  ) 

function rundemos ( directory   ) 


Variable Documentation

else fullname = find_dir_in_path (directory)

for i

Initial value:

 1:numel (dirs)
    d = dirs{i}