Simulink Project Change Resource Folder Location
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Sreeram
el 20 de En. de 2025
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 comentarios
Ver también
Categorías
Más información sobre Create Large-Scale Model Components en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!