How to update new annotations or descriptions done in a library subsystem into the model where the library is used
4 views (last 30 days)
Show older comments
I have a massive library with different subsystems that I am using them along a big model.
My question is, if I change the annotations or decription in the library.
How can I have them updated in the library blocks used in the model?
Thanks in advance
0 Comments
Answers (1)
Fangjun Jiang
on 18 Feb 2021
To be clear, the annotation needs to be inside a subsystem block in the library. Then after you updated the annotation in the library, it should be automatically reflected in the model where the subsystem block is used. If not immediately, then do Ctrl+D (update) the model.
If the annotation is in the library but not inside the subsystem block (e.g. an annotation in the root level of the library), then it will not be dragged to the model when any of the library block is used, even when the annotation is "linked" to a block in the library.
In other word, if the annotation appeared in the library does not appear in the model when a library block is dragged to the model, then later, after you update the annotation in the library, they will not impact the model.
4 Comments
Fangjun Jiang
on 23 Feb 2021
Edited: Fangjun Jiang
on 23 Feb 2021
If this is a separate annotation typed in in the library, then it will not appear in the model because it is not regarded as part of the block.
However, there is a different way. In the library, right click the block, select "Properties", click the "Block Annotation" tab, type in the static string or use dynamic field such as %<Description> (you need to fill in "Description" to see the effect.
See Also
Categories
Find more on Schedule Model Components in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!