How do I rename or move a model without losing the externally saved requirements links (SLMX file)
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 26 de En. de 2023
Respondida: MathWorks Support Team
el 26 de En. de 2023
Renaming or moving a model with attached requirements stored in a SLREQX file and links in a SLMX file damages the links and generates a warning:
"Unable to locate Requirement Set"
I can solve this manually by unpacking the SLMX files, fixing the content of the XML's, and re-packing in a SLMX. However, I would expect this is something that can be handled by Simulink project when renaming and moving the model files.
Respuesta aceptada
MathWorks Support Team
el 26 de En. de 2023
Unfortunately, Simulink is not able to update the links if the model is renamed or moved using the operating system's file system. However, Simulink is able to recognize and automatically handle these dependencies and changes as long as you use "Save As" in Simulink to rename or move the model. Since "Save As" creates a new model and new SLMX file, you may want to delete the old files if your goal is only to rename or move files, rather than create new files.
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!