edit

March 6th, 2008 No Comments   Posted in Functions

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

echo

March 6th, 2008 No Comments   Posted in Functions

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

March 6th, 2008 No Comments   Posted in Functions

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

March 6th, 2008 No Comments   Posted in Functions

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

demo

March 6th, 2008 No Comments   Posted in Functions

demo Run demonstrations. Read More

delete

March 6th, 2008 No Comments   Posted in Functions

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

March 6th, 2008 No Comments   Posted in Functions

Computer type.
computer returns a string containing the name of the computer
on 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 of MATLAB.
More »