Where did Matlab stores a requirement set (*.slreqx file) dependencies ?

19 visualizaciones (últimos 30 días)
I got a warning after opening a Simulink Model stating that Matlab is unable to locate a requirement set. Indeed, the file that Matlab wants to locate has been deleted intentionally by me:
I want to know, how to fix this warning ?
Thank you !

Respuesta aceptada

Yongjian Feng
Yongjian Feng el 26 de Jun. de 2023
Check if you have something called Swc_MTR*.slmx.
Rename it to something else and try again.
That is a linkset file. Please note that it might contain things more than just links to the deleted requirement set. So you need to figure out what to remove from that file. IF it contains only links to the deleted requirement set, then you can just delte it.
  2 comentarios
Mohamed Riad
Mohamed Riad el 7 de Jul. de 2023
Thank you for the answer.
I've managed to fix this issue. It was indeed a mater of file deletion but it needed some steps. First, even if I've set the storage to externally (to have the links stored within a .slmx file), Simulink kept storing internally (*.slx). To force it to switch I've selected "Link Setting->Save Links As...":
The link storage has then changed to externally. I've after that deleted all ongoing links and also the *.slmx file. I re-open the Simulink Model, and re-open the Requirement Set (which has been desapeared since all the links have been deleted), and I've started re-setting the links. Now the warning is no longer present.
Yongjian Feng
Yongjian Feng el 10 de Jul. de 2023
Yes, you did it right. The linkset can be saved either inside the model or outside as a separatted file. The second option is more popular though.

Iniciar sesión para comentar.

Más respuestas (0)




Community Treasure Hunt

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

Start Hunting!

Translated by