more

March 6th, 2008 No Comments   Posted in Functions

more   Control paged output in command window.
more OFF disables paging of the output in the MATLAB command window.
more ON enables paging of the output in the MATLAB command window.
more(N) specifies the size of the page to be N lines. Read More

format

March 6th, 2008 No Comments   Posted in Functions

format Set output format.
All computations in MATLAB are done in double precision.
format may be used to switch between different output display formats as follows:
format Default. Same as SHORT.
format SHORT Scaled fixed point format with 5 digits.
format LONG Scaled fixed point format with 15 digits.
format SHORT E Floating point format with 5 digits.
format LONG E Floating point format with 15 digits.
format SHORT G Best of fixed or floating point format with 5 digits.
format LONG G Best of fixed or floating point format with 15 digits.
format HEX Hexadecimal format.
format + The symbols +, – and blank are printed
for positive, negative and zero elements.
Imaginary parts are ignored.
format BANK Fixed format for dollars and cents.
format RAT Approximation by ratio of small integers. Read More

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