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

17 Ansichten (letzte 30 Tage)
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 !

Akzeptierte Antwort

Yongjian Feng
Yongjian Feng am 26 Jun. 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 Kommentare
Mohamed Riad
Mohamed Riad am 7 Jul. 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 am 10 Jul. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by