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)
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

Answers (1)

Fangjun Jiang
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
Juan de la Torre
Juan de la Torre on 23 Feb 2021
As an axample find this library block. I have it in different parts of my model. My quiestion is, if there is a way to get the changes on the annotation (where the arrow points) propagate to the model blocks. Thanks in advance
Fangjun Jiang
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.

Sign in to comment.

Categories

Find more on Schedule Model Components in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!