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

10 次查看(过去 30 天)
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 !

采纳的回答

Yongjian Feng
Yongjian Feng 2023-6-26
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 个评论
Riad
Riad 2023-7-7
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 2023-7-10
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.

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by