com.mathworks.toolbox.javabuilder.MWMCROption Class
Namespace: com.mathworks.toolbox.javabuilder
Java class to specify MATLAB Runtime initialization options
Description
Declaration
public abstract class MWMCROption extends java.lang.Object
This class represents the options that can be passed while initializing the MATLAB Runtime
Creation
Constructors
MWMCROption()
Constructors an instance of the MWMCROption class. The MWMCROption class is used to configure options for the MATLAB Runtime when integrating MATLAB with a Java application.
Properties
Public Properties
NODISPLAY
— Represents the -nodisplay
option
public static final
This represents the -nodisplay
option for MATLAB Runtime. Use
of this option will disable display for MATLAB Runtime. This option should be used for
UNIX only.
NOJVM
— Represents the -nojvm
option
public static final
This represents the -nojvm
option for MATLAB Runtime. Use of
this option will disable JVM for MATLAB Runtime
OUTPROC
— Represents out-of-process option
public static final
This represents the option that instructs the MATLAB Runtime to run in a separate process from the Java application.
Methods
Public Methods
extraJARFiles |
Used to specify additional JAR files that should be included when running the MATLAB Runtime. Parameters:
Returns: Returns an instance of MWMCROption. |
logFile |
This function should be used to initialize the -logfile with the filename passed as input Parameters:
Returns: Returns an instance of MWMCROption representing the logfile used by MATLAB Runtime |
toStringArray |
String representation of the MATLAB Runtime option. Returns: An array of String representing MATLAB Runtime options. |
Inherited Methods
Methods inherited from class java.lang.Object
.
clone |
Used to create and return a copy of the object it is called on. This method is protected and provides a shallow copy, meaning it copies the values of an object's fields directly. For fields that are objects, it copies references, not the objects themselves. |
equals |
Used to compare two objects for
equality. It checks if the two objects are the same in terms of their content,
rather than just comparing their references. By default, the
|
finalize |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
getClass |
Returns the runtime class of this Object. |
hashCode |
Used to return a hash code
value for the object. This integer value is used for efficiently storing objects
in hash-based collections like |
notify |
|
notifyAll |
Wakes up all threads that are waiting on this object's monitor. |
wait |
Causes
the current thread to wait until another thread invokes the
|
Version History
Introduced in R2006a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)