MATLAB: Can I create a data dictionary for the masked subsystems using the Data Object Wizard in Simulink

datadataobjectwizarddictionarymaskedobjectsimulinksubsystem

I am creating a data dictionary for my model using the Data Object Wizard as instructed in the Real-Time Workshop Embedded Coder documentation, which can be accessed by typing the following on the command window:
web([docroot,'/toolbox/ecoder/mpt_ug/f247342.html'])
However, my model contains many subsystems, and I would like to create Simulink or MPT data objects as a data dictionary for all the signals in my masked subystems using the Data Object Wizard.

Best Answer

  • This enhancement has been incorporated in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
    The ability to create a data dictionary for a masked subsystem using the Data Object Wizard is not available in Simulink.
    To work around this issue, you can create data objects from your masked subsystems one-by-one, using the technique discussed in the following documentation, which can be accessed by issuing the following command at the MATLAB command prompt:
    web([docroot,'/toolbox/simulink/ug/working_with_data11.html'])