
- •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 automatically run.
JAVAADDPATH DIRJAR ... adds directories or jar files
to the beginning of the current dynamic Java path.
Relative paths are converted to absolute paths.
JAVAADDPATH ... -END appends the specified directories.
Use the functional form of JAVAADDPATH, such as
JAVAADDPATH({'dirjar','dirjar',...}), when the directory
specification is stored in a string or cell array of
strings.
Example 1:
% Add a directory
javaaddpath D:/tools/javastuff
% 'clear java' was used to reload modified Java classes
Example 2:
% Add an internet jar file
javaaddpath http://www.example.com/my.jar
javaclasspath % View Java path
Example 3:
% Add the current working directory
javaaddpath(pwd)
See also javaclasspath, javarmpath, clear, java.
Reference page in Help browser
doc javaaddpath
<javaclasspath> - Get and set java path.
JAVACLASSPATH Get and set java path.
The java path consists of a static portion and a dynamic portion:
static -Specified on startup in classpath.txt. The static
java path cannot be modified during a MATLAB session.
The static java path offers better java class loading
performance than the dynamic java path.
dynamic -Specified through this function, java classes can
be reloaded using CLEAR JAVA.
MATLAB will always search the static path BEFORE the dynamic path.
Java classes on the static path should not have dependencies on
classes on the dynamic path otherwise runtime errors will result.
Whenever the dynamic path is changed, CLEAR JAVA is run.
JAVACLASSPATH displays the static and dynamic java path.
JAVACLASSPATH('-dynamic') displays the dynamic java path.
JAVACLASSPATH('-static') displays the static java path.
P = JAVACLASSPATH returns the dynamic java path.
P = JAVACLASSPATH('-static') returns only the static java path.
P = JAVACLASSPATH('-all') returns both the static and
dynamic java path.
JAVACLASSPATH(P) changes the dynamic java path to P, P is a
string or cell array of strings representing path entries.
Relative paths are converted to absolute paths.
JAVACLASSPATH(P1,P2) changes the dynamic java path to the
concatenation of the two paths P1 and P2. Input should
be a string or cell array of strings representing path
entries. Relative paths are converted to absolute paths.
JAVACLASSPATH('-v0') no class loading messages will be
displayed (default).
JAVACLASSPATH('-v1') prints messages when loading files
from the dynamic java path.
Examples:
javaclasspath('/home/javastuff/')
javaclasspath({'/home/javastuff/','/home/morestuff/jarfile.jar'})
javaclasspath('http://domain.com')
javaclasspath('http://some.domain.com/jarfile.jar')
See also javaaddpath, javarmpath, java, clear.
Reference page in Help browser
doc javaclasspath
<javarmpath> - Remove directory from dynamic java path.
JAVARMPATH Remove directory from dynamic java path.
JAVARMPATH DIRNAME removes the specified directory from the
dynamic java path.
JAVARMPATH DIR1 DIR2 DIR3 removes all the specified directories
from the dynamic java path.
Use the functional form of JAVARMPATH, such as
JAVARMPATH('dir1','dir2',...), when the directory specification