How do I change the link of a Library source?
4 次查看(过去 30 天)
显示 更早的评论
I have duplicated an entire model file simply by "save as...". It has a linked block which is still referencing the original mode file. I disabled the linked block and the link icon is greyed out (I then made changes to this 'slave' block). Then I went into Library Link/Resolve link and see the "Library source" is still linked to the original block inside the original model file. I want to change this link so that it is linked to a block inside my new file so I can do a "push all", but how do I do this please? I am not very literate in Matlab so maybe there is an obvious way to fixing this, please be gentle! Thanks...
0 个评论
回答(1 个)
Charu
2025-2-21
Hello, according to my understanding of your question you are trying to make changes in your new file and apply “push all” but those changes are being reciprocated in the library even after resolving the link.
Assuming you are using MATLAB R2018 version, to make the changes in the new file either you can create another library with and apply “push all” or you can use the “dissolve link” option. With dissolving the link option, whatever changes you make in the block and “push all” would not be reciprocated. The “resolve link” function does not break the link it temporarily disables it, but it is still linked.
Hope this helps
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Libraries and Blocksets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!