mask reset in the model library block after library changing
3 views (last 30 days)
Show older comments
Hello
I've created library block with one FROM parametrized on the mask as popup.
To manage the GOTO list selection via popup, a script is created on the mask "Initialization" to collect all GOTO present in the model:

all the time that the library block is drag&drop on the model the list is created.
The check below in the "Initialization" mask, "Allow library block to modify its contents" is active.
The following script code lines are added on the "Icon&Ports" to replace the FROM name with the value selected from the GOTO list.

and in the "Parameters&Dialogs" a PopUp Parameter is created for each FROM.

The block it self works fine but the issue appears when I change the library, all parameters already set in the library blocks mask present in the model are reseted.
How can I solve the issue? Can you suggest me another method?
Thanks
Regards
0 Comments
Answers (0)
See Also
Categories
Find more on Author Block Masks 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!