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

8 visualizzazioni (ultimi 30 giorni)
Hello,
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 !

Risposta accettata

Yongjian Feng
Yongjian Feng il 26 Giu 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 Commenti
Riad
Riad il 7 Lug 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 il 10 Lug 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.

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by