Simulink Project Change Resource Folder Location
조회 수: 18 (최근 30일)
이전 댓글 표시
Currently, I have a 2020a Simulink project where the resource folder is located in "resources". My group is trying to change that "resources" folder to ".SimulinkProject" but we cannot find where to do that. The Matlab preferences has the location as the preferred one already.
Is there a way to migrate that location?
댓글 수: 0
답변 (1개)
Sreeram
2025년 1월 20일
Hi Richard,
I understand that even after changing the project definition folder from "resources/project" to ".SimulinkProject" in the MATLAB Project preferences, the resource folder for the project did not get updated to ".SimulinkProject". This is because the setting only affects projects created after the setting is done.
To migrate the current project to ".SimulinkProject", you can follow these steps:
1. Create a project archive file of the current project using the following command:
export(currentProject,"someName.mlproj")
2. Set the "Project definition folder" in MATLAB Project Preferences to ".SimulinkProject", if not already set.
3. Double-click on the MLPROJ file and provide the path where the migrated project should be situated, and click on "Select Folder".
The migrated project with the project definition folder as ".SimulinkProject" will be created.
For more information on these steps, you may refer to the documentation on "Project definition files" using the following link:
I hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!