Simulink Project Change Resource Folder Location

조회 수: 18 (최근 30일)
Richard Hopple
Richard Hopple 2025년 1월 16일
답변: Sreeram 2025년 1월 20일
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?

답변 (1개)

Sreeram
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!

카테고리

Help CenterFile Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by