Simulink Project Change Resource Folder Location
6 ビュー (過去 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 で Dependency Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!