
How can I edit entries of a Data Dictionary through the Mask of a Subsystem or Block?
7 views (last 30 days)
Show older comments
MathWorks Support Team
on 3 Mar 2021
Answered: MathWorks Support Team
on 3 Mar 2021
For a particular workflow it is sought to access and modify entries of a linked Data Dictionary through the mask of a Subsystem or Block in Simulink. However, using such commands as 'openvar', 'open' entries of a linked Data Dictionary can not be modified.
How can I edit entries of a Data Dictionary through the Mask of a Subsystem or Block?
Accepted Answer
MathWorks Support Team
on 3 Mar 2021
To achieve the desirable workflow, please consider using the option 'Promote' from when editing the mask of the Subsystem or Block, see the following figure accordingly,

A detailed description of the latter workflow can be found in the following documentation page,
In this way, variables that are used within the Subsystem or Block can be accessed and edited in the custom mask even when they are located inside the linked Data Dictionary.
0 Comments
More Answers (0)
See Also
Categories
Find more on Interactive Model Editing 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!