Matlab Engine API C++ open and run Simulink Project file
Ältere Kommentare anzeigen
Hey,
what is the right way to open and run a simulink project file? I tried evalAsync and load_system. But this cmd needs a slx file.
Do you have some suggestions for me? THX
std::unique_ptr<MATLABEngine> matlabPtr = startMATLAB();
matlabPtr->evalAsync(u"load_system('~/test_project.prj')");
Antworten (1)
Pranav Verma
am 19 Feb. 2021
0 Stimmen
Hi Matthias,
You can use openProject to open any .prj file. Simply specify the path to the project as argument to the function.
Thanks
Kategorien
Mehr zu Naming Conventions finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!