Start MATLAB and Call Functions from C++ Applications
Start and connect to MATLAB, call MATLAB functions from C++ applications
Use the C++ Engine API to interact with MATLAB® from C++ applications. The C++ Engine API allows you to start a MATLAB session or connect to an existing session, read and set the value of variables, evaluate MATLAB statements, call MATLAB functions, and receive results.
|Convert running MATLAB session to shared session|
|Return name of shared MATLAB session|
|Determine if MATLAB session is shared|
C++ Start and Connect Functions
|Start MATLAB synchronously|
|Start MATLAB asynchronously|
|Connect to shared MATLAB session synchronously|
|Connect to shared MATLAB session asynchronously|
|Find shared MATLAB sessions synchronously|
|Find shared MATLAB sessions asynchronously|
|Free engine resources during run time|
Start and Connect to MATLAB
- Start MATLAB Sessions from C++
Start and connect to a MATLAB session synchronously or asynchronously from C++.
- Connect C++ to Running MATLAB Session
Connect a C++ engine to a MATLAB session that was started as or converted to a shared session.
- Call MATLAB Functions from C++
Call MATLAB functions from C++, passing variables to MATLAB and returning variables to C++.
- Evaluate MATLAB Statements from C++
Evaluate MATLAB expressions from C++ and write variables to the MATLAB base workspace.
- Pass Variables from C++ to MATLAB
Pass variables from C++ to MATLAB as function arguments or by placing those variables directly into the MATLAB base workspace.
- Pass Variables from MATLAB to C++
Get variables from the MATLAB base or global workspace.
- Redirect MATLAB Command Window Output to C++
Redirect MATLAB Command Window output, including error messages, to your C++ program.
- Convert C++ Engine Application to MATLAB Compiler SDK Application
Convert an engine application to a deployed application using MATLAB Compiler SDK™.