Effacer les filtres
Effacer les filtres

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

12 vues (au cours des 30 derniers jours)
Riad
Riad le 23 Juin 2023
Commenté : Yongjian Feng le 10 Juil 2023
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 !

Réponse acceptée

Yongjian Feng
Yongjian Feng le 26 Juin 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 commentaires
Riad
Riad le 7 Juil 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 le 10 Juil 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by