Starten von MATLAB und Aufrufen von Funktionen aus C++ Anwendungen heraus
Starten und Verbinden mit MATLAB und Aufrufen von MATLAB-Funktionen aus C++ Anwendungen heraus
Interagieren Sie über C++ Engine-API mit MATLAB® aus C++ Anwendungen heraus. Mit der C++ Engine-API können Sie eine MATLAB-Sitzung starten oder die Verbindung zu einer vorhandenen Sitzung herstellen, Variablenwerte lesen oder festlegen, MATLAB-Anweisungen evaluieren, MATLAB-Funktionen aufrufen und Ergebnisse empfangen.
Funktionen
Klassen
Themen
Starten und Herstellen einer Verbindung zu 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.
Aufrufen von Funktionen
- 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™.