javaclasspath
Return Java class path or specify dynamic path
Syntax
Description
javaclasspath('-dynamic')
displays the dynamic
path.
javaclasspath('-static')
displays the static
path.
returns the static path, spath
= javaclasspath('-static')spath
.
returns the entire path, jpath
= javaclasspath('-all')jpath
. The returned cell array
contains first the static segment of the path, and then the dynamic
segment.
javaclasspath(
changes the dynamic path to dpath
)dpath
. Use this syntax to
reload Java classes that you are actively developing and debugging.
javaclasspath(
changes
the dynamic path to the concatenation of paths dpath1,dpath2
)dpath1,dpath2
.
javaclasspath(
enables or disables the display of status messages.statusmsg
)
Examples
Input Arguments
Output Arguments
More About
Tips
Do not put Java classes on the static path that have dependencies on classes on the dynamic path. Such dependencies produce run-time errors.
To clear the definitions of all Java classes defined by files on the dynamic class path, call the
clear
command.Adding an entry to the dynamic path when it is already specified on the static path produces a warning.
Version History
Introduced before R2006a