Matlab Engine API C++ open and run Simulink Project file
조회 수: 3 (최근 30일)
이전 댓글 표시
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')");
댓글 수: 0
답변 (1개)
Pranav Verma
2021년 2월 19일
Hi Matthias,
You can use openProject to open any .prj file. Simply specify the path to the project as argument to the function.
Thanks
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Deploy to C++ Applications Using MATLAB Data API (C++11)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!