MathWorks.MATLAB.Types.RunOptions
.NET class to specify options for MATLAB function evaluation
Since R2022b
Description
Use a .NET RunOptions
object to pass execution parameters when calling
MATLAB functions from .NET. The options specify whether to run synchronously, where to direct
output streams, and how to return arguments.
Class Details
Namespace: | MathWorks.MATLAB.Types |
Creation
RunOptions(output, error, nargout, async, cancelToken);
creates an
instance of RunOptions
with optional parameters set by the corresponding
property name.
Properties
| Output stream, specified as:
Default value is |
| Error stream, specified as:
Default value is |
| Number of output arguments, specified as |
| Whether to evaluate asynchronously, specified as |
| Cancel token for asynchronous evaluation, specified as
|
Version History
Introduced in R2022b