Posts Tagged ‘matlab functions’
edit
edit Edit M-file.
edit FUN opens the file FUN.M in a text editor. FUN must be the
name of an m-file or a MATLABPATH relative partial pathname (see
PARTIALPATH). Read More
Tags: axis, edit, Editor, for, help, if, load, matlab, matlab functions, matlabpath, open, partialpath, path, ver
echo
echo Echo commands in M-files.
echo ON turns on echoing of commands inside Script-files.
echo OFF turns off echoing.
echo file ON where ‘file’ is a function name causes the
named Function-file to be echoed when it is used.
echo file OFF turns it off.
echo file toggles it.
echo ON ALL turns on the echoing of commands inside any
Function-files that are currently in memory (i.e., the
functions returned by INMEM).
echo OFF ALL turns them all off. Read More
dir
dir List directory.
dir directory_name lists the files in a directory. Pathnames and
wildcards may be used. For example, dir *.m lists all the M-files
in the current directory. Read More
diary
DIARY Save text of MATLAB session.
DIARY filename causes a copy of all subsequent command window input and most of the resulting command window output to be appended to the named file. If no file is specified, the file ‘diary’ is used. Read More
delete
delete Delete file or graphics object.
delete file_name deletes the named file from disk. Wildcards
may be used. For example, delete *.p deletes all P-files from the
current directory. Read More
computer
computer Computer type.
computer returns a string containing the name of the computer
on which MATLAB is executing. Possibilities are:
ISPC ISUNIX
PCWIN – MS-Windows 1 0
SOL2 – Sun Sparc (Solaris 2) 0 1
HPUX – HP PA-RISC (HP-UX 11.00) 0 1
HP700 – HP PA-RISC (HP-UX 10.20) 0 1
ALPHA – Compaq Alpha (OSF1) 0 1
IBM_RS – IBM RS/6000 (AIX) 0 1
SGI – Silicon Graphics (IRIX/IRIX64) 0 1
GLNX86 – Linux on PC compatible (Linux) 0 1
[C,MAXSIZE] = computer returns also integer MAXSIZE which
contains the maximum number of elements allowed in a matrix
on this version of MATLAB.
More »