Open SimulinkProject along with model
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
When you attempt to open a model that is part of a Simulink project, Simulink asks you whether you want to open the project as well. Is there a way to do the same when the model is opened programmatically? I'm trying to implement a mechanism/process where the user selects a model to open and if it is part of a project, the project gets opened so that it configures the environment - paths, variables, etc.
Cheers,
sunny
댓글 수: 0
답변 (1개)
Akshay Khadse
2019년 3월 28일
I am ssuming that you are using open_system command to open the model file. However, this command cannot open the Simulink Project.
You will need to manually use the openProject command to open the corresponding project. Please refer the following documantation page for more inormation on this command:
참고 항목
카테고리
Help Center 및 File Exchange에서 Dependency Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!