MATLAB Answers

What is the token of the block property Function Packaging?

8 views (last 30 days)
Xiaojie Qiu
Xiaojie Qiu on 5 Sep 2018
Commented: Xiaojie Qiu on 7 Sep 2018
Hi,
I want to have the information about the block property "Function Package" displayed as the block annotation, as shown below, because it could be more convenient to know how a atomic subsystem will be packaged as an inlined, non-reusable or resusable function.
But there is nothing about it in the list of the block property tokens.
Is it still possible to do so?
Thank you!

  0 Comments

Sign in to comment.

Accepted Answer

TAB
TAB on 7 Sep 2018
This is not listed in token list.
%<RTWSystemCode>

  3 Comments

Xiaojie Qiu
Xiaojie Qiu on 7 Sep 2018
Hi TAB,
it works.
Could you please tell me how you know about it? Where can I get this kind of information?
Thank you for your help!
qxj
TAB
TAB on 7 Sep 2018
Select your block in Simulink and go to Matlab command window.
Type
get(gcbh)
This will list all the available properies of selected block.
But note that not all properties are supported for display in annotation

Sign in to comment.

More Answers (0)