Navigation

Operators and Keywords

Function List:

C++ API

ls.m File Reference


Functions

 if (isempty(__ls_command__)||!ischar(__ls_command__)) ls_command()
endif if (iscellstr(varargin)) args
 if (page_screen_output()||nargout > 0)[status
 if (status==0) if(nargout
endif else error ("ls: command exited abnormally with status %d", status)
endif else system (cmd)
endif else error ("ls: expecting all arguments to be character strings")
endif endfunction!error ls (1)

Variables

function retval
 cmd = sprintf ("%s ", __ls_command__, args{:})
 output = system (cmd)

Function Documentation

endif else error ( "ls: expecting all arguments to be character strings  ) 

endif else error ( "ls: command exited abnormally with status %d"  ,
status   
)

if ( status  = =0  ) 

if ( page_screen_output()||  nargout,
 
)

endif if ( iscellstr(varargin)   ) 

if ( isempty(__ls_command__)||!ischar(__ls_command__  ) 

endif endfunction !error ls (  ) 

endif else system ( cmd   ) 


Variable Documentation

cmd = sprintf ("%s ", __ls_command__, args{:})

endif output = system (cmd)

else retval

Initial value: