matlab::engine::startMATLAB
Start MATLAB synchronously
Description
std::unique_ptr<MATLABEngine> startMATLAB(const
std::vector<String>& options = std::vector<String>())
Start MATLAB® synchronously in a separate process with optional MATLAB startup options.
Include
Namespace: | matlab::engine |
Include | MatlabEngine.hpp |
Parameters
| Options used to start MATLAB. You can specify multiple startup options. The engine
supports all MATLAB startup options, except for the options listed in
Unsupported Startup Options. For a list of options, see the platform-specific command
|
Return Value
|
Pointer to the |
Exceptions
|
MATLAB failed to start. |
Unsupported Startup Options
The engine does not support these MATLAB startup options:
-h
-help
-?
-n
-e
-softwareopengl
-logfile
For information on MATLAB startup options, see Commonly Used Startup Options.
Examples
Version History
Introduced in R2017b