com.mathworks.toolbox.javabuilder.MWComponentOptions Class
Namespace: com.mathworks.toolbox.javabuilder
Java class to manage component instance options in MATLAB
Description
Declaration
public class MWComponentOptions extends java.lang.Object
Options per component instance. When creating a new instance of a class generated by MATLAB Java Package, an instance of MWComponentOptions may be passed to override the default behavior of the created object. For example, a PrintStream may be specified to capture output from MATLAB code invoked using the object, or an alternate location for CTF data may be specified
Creation
Constructors
MWComponentOptions()
Create default option set for deployed component initialization.
MWComponentOptions(MWComponentOptions that)
Create a clone of that
.
MWComponentOptions(java.lang.Object... options)
Create an option set with all of the specified component initialization options applied to it.
Properties
No fields.
Methods
Public Methods
getCtfSource |
From where should CTF data be read? Returns: The CTF data source specified by this option set. |
getErrorStream |
The Callable<PrintStream> which, when called, produces the PrintStream object to which error output from MATLAB code should be written. Returns: Object to which error output from MATLAB code should be written. |
getExecutionContext |
|
getExtractLocation |
To where should extracted CTF data be written? Returns: The location for extracted CTF data specified by this option set. |
getPrintStream |
The Callable<PrintStream> which, when called, produces the PrintStream object to which standard output from MATLAB code should be written. Returns:
|
setCtfSource |
Set the source for reading CTF data. Parameters:
|
setErrorStream |
Set the destination for error output written by MATLAB code in the scope of all component instances initialized using this. Parameters:
|
setErrorStream |
Set the destination for error output written by MATLAB code in the scope of all component instances initialized using this. Every time error output is requested from MATLAB code, the Callable<PrintStream> associated with the component instance will be invoked to retrieve the PrintStream to use. This allows the PrintStream used by a component instance to change over time, if desired. Parameters:
|
setExecutionContext |
|
setExtractLocation |
Set where CTF data should be written. Parameters:
|
setPrintStream |
Set the destination for standard output written by MATLAB code in the scope of all component instances initialized using this. Parameters:
|
setPrintStream |
Set the destination for standard output written by MATLAB code in the scope of all component instances initialized using this. Every time standard output is requested from MATLAB code, the Callable<PrintStream> associated with the component instance will be invoked to retrieve the PrintStream to use. This allows the PrintStream used by a component instance to change over time, if desired. Parameters:
|
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. |
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. |
toString |
Returns a string representation of the object, typically including its class name and hashcode, and can be overridden for customized representations. |
wait |
Causes
the current thread to wait until another thread invokes the
|
Version History
Introduced in R2006a
Comando de MATLAB
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
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)