- •Version of matlab on different machines. It does not offer direct
- •In the workspace or file. You must use the functional form of who when
- •In a nested function, variables are grouped into those in the nested
- •If you run out of memory often, here are some additional system
- •If you do not specify filename, the load function searches for a file
- •If any data items require features that the specified version does not
- •Valid options for format are:
- •VirtualAddressSpace: [1x1 struct]
- •If the flag -inplace is used, the result is placed in the same
- •Inmem List functions in memory.
- •Variable names
- •Visible.
- •Is automatically run.
- •Is stored in a string.
- •Controlling the command window.
- •Vdspdebug/cd
- •Input parameters:
- •If the specified name cannot be found, an empty matrix is returned.
- •Idivide - Integer division with rounding option.
- •Interactive user input which cannot be provided.
- •Debugging.
- •If the matlabpath contains 'relative' directories then any file in those
- •Indicates who calls whom. Called_from is arranged so that
- •Information from the shrlib library file. Notfound is a cell array of
- •Invoked from the Swing Event Dispatch Thread.
Is stored in a string.
Whenever the dynamic java path is changed, 'clear java' is run.
Examples
javarmpath c:\matlab\work
javarmpath /home/user/matlab
See also javaaddpath, javaclasspath.
Reference page in Help browser
doc javarmpath
Controlling the command window.
<echo> - Echo commands in M-files.
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.
See also function, script.
Reference page in Help browser
doc echo
<more> - Control paged output in command window.
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.
When MORE is enabled and output is being paged, advance to the next
line of output by hitting the RETURN key; get the next page of
output by hitting the spacebar. Press the "q" key to exit out
of displaying the current item.
Reference page in Help browser
doc more
<diary> - Save text of MATLAB session.
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.
DIARY OFF suspends it.
DIARY ON turns it back on.
DIARY, by itself, toggles the diary state.
Use the functional form of DIARY, such as DIARY('file'),
when the file name is stored in a string.
See also save.
Reference page in Help browser
doc diary
<format> - Set output format.
FORMAT Set output format.
FORMAT with no inputs sets the output format to the default appropriate
for the class of the variable. For float variables, the default is
FORMAT SHORT.
FORMAT does not affect how MATLAB computations are done. Computations
on float variables, namely single or double, are done in appropriate
floating point precision, no matter how those variables are displayed.
Computations on integer variables are done natively in integer. Integer
variables are always displayed to the appropriate number of digits for
the class, for example, 3 digits to display the INT8 range -128:127.
FORMAT SHORT and LONG do not affect the display of integer variables.
FORMAT may be used to switch between different output display formats
of all float variables as follows:
FORMAT SHORT Scaled fixed point format with 5 digits.
FORMAT LONG Scaled fixed point format with 15 digits for double
and 7 digits for single.
FORMAT SHORTE Floating point format with 5 digits.
FORMAT LONGE Floating point format with 15 digits for double and
7 digits for single.
FORMAT SHORTG Best of fixed or floating point format with 5
digits.
FORMAT LONGG Best of fixed or floating point format with 15
digits for double and 7 digits for single.
FORMAT SHORTENG Engineering format that has at least 5 digits
and a power that is a multiple of three
FORMAT LONGENG Engineering format that has exactly 16 significant
digits and a power that is a multiple of three.
FORMAT may be used to switch between different output display formats
of all numeric variables as follows:
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. Numbers
with a large numerator or large denominator are
replaced by *.
FORMAT may be used to affect the spacing in the display of all
variables as follows:
FORMAT COMPACT Suppresses extra line-feeds.
FORMAT LOOSE Puts the extra line-feeds back in.
Example:
format short, pi, single(pi)
displays both double and single pi with 5 digits as 3.1416 while
format long, pi, single(pi)
displays pi as 3.141592653589793 and single(pi) as 3.1415927.
format, intmax('uint64'), realmax
shows these values as 18446744073709551615 and 1.7977e+308 while
format hex, intmax('uint64'), realmax
shows them as ffffffffffffffff and 7fefffffffffffff respectively.
The HEX display corresponds to the internal representation of the value
and is not the same as the hexadecimal notation in the C programming
language.
See also disp, display, isnumeric, isfloat, isinteger.
Reference page in Help browser
doc format
<beep> - Produce beep sound.
BEEP Produce beep sound.
BEEP produces a beep sound.
BEEP ON turns the beep on.
BEEP OFF turns the beep off.
S = BEEP returns the beep status: 'on' or 'off'.
See also error.
Reference page in Help browser
doc beep
<desktop> - Start and query the MATLAB Desktop.
DESKTOP Start and query the MATLAB Desktop.
DESKTOP starts the MATLAB Desktop using the configuration
stored the last time the Desktop was run, or the default
configuration if no configuration file is present.
DESKTOP -NORESTORE doesn't restore the configuration from the last
time the desktop was run.
USED = DESKTOP('-INUSE') returns whether or not the Desktop is
currently in use. It does not start the Desktop.
See also javachk, usejava.
<preferences> - Bring up MATLAB user settable preferences dialog.
PREFERENCES Bring up MATLAB user settable preferences dialog.
PREFERENCES opens up general MATLAB preferences.
PREFERENCES COMPONENT displays general MATLAB preferences with the
specified component name selected.
Examples:
preferences
displays MATLAB user settable preferences dialog
preferences('Editor/Debugger')
displays Editor user settable preferences
Overloaded methods:
rptparent/preferences
Reference page in Help browser
doc preferences
Operating system commands.
<cd> - Change current working directory.
CD Change current working directory.
CD directory-spec sets the current directory to the one specified.
CD .. moves to the directory above the current one.
CD, by itself, prints out the current directory.
WD = CD returns the current directory as a string.
Use the functional form of CD, such as CD('directory-spec'),
when the directory specification is stored in a string.
See also pwd.
Overloaded methods:
ftp/cd
