How can I show all block parameters in my project ?

I have changed in "Block properties" the "Block annotation" to show the parameter, but the change in my lib doesnt change my projects to show it - it dows only when I place a new block.

Answers (3)

Kaustubha Govind
Kaustubha Govind on 24 Aug 2012
Edited: Kaustubha Govind on 24 Aug 2012
Sorry, your question is not clear to me. What property did you change exactly under Block Properties>Block Annotation? Please see Creating and Working with Linked Blocks for information about linked (library) blocks. Are the library links disabled by any chance?
Stephan Moeller
Stephan Moeller on 24 Aug 2012
Edited: Stephan Moeller on 24 Aug 2012
when I have a project with blocks, by example Resistors - i see the reference designators only , and if I click on the resistor I can change the parameter R to 1000 by exaample. Now I like to see the paramter value in my project beside every resistor to see immediatly its values. So I go and change in my Lib the "Block annotation" to show the parameter R. But I can't make it work that the change in my lib will change all resistors in my project to show the parameter.

5 Comments

Stephan: I'm still not sure how you control the visibility of "R" from Block Annotation. Could you please provide more detail? Also, note that changes in parameter value in the library won't change the value in other existing instances of the block, because the setting within them will override the value in the library.
I can annotate blocks by using the Block Annotation Pane in the Block Properties dialog box - by example a resistor ( simscape ) I can scroll down to R and double click, and then the parameter R ( a value ) will be shown in the model if I place the block R in it.
Ah! Now I understand what you meant by "visibility of R" - I see now that you meant that R shows up in the annotation (not on the dialog). It appears that library blocks do not propagate changes to the Block Annotation pane by design. The block annotations are supposed to be instance-specific. If you'd like this functionality to be added in a future release, please submit an enhancement request via MathWorks Tech Support.
Are you really sure that block annotations are supposed to be instance-specific ?
Yes, I'm fairly certain, but please confirm with MathWorks Tech Support.

Sign in to comment.

anybody there to help ?

Products

Asked:

on 24 Aug 2012

Community Treasure Hunt

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

Start Hunting!