Matlab Engine API C++ open and run Simulink Project file
3 views (last 30 days)
Show older comments
Matthias B on 15 Jun 2020
Answered: Pranav Verma on 19 Feb 2021
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();
Pranav Verma on 19 Feb 2021
You can use openProject to open any .prj file. Simply specify the path to the project as argument to the function.
You can also refer to the link and follow the steps to open the recent projects.
Find more on Dependency Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!