Importing a Simulink model to a class (Integration for MATLAB Simulink)
1. If you have not done so already, add the Simulink profile to the Modeler model. How?
2. We recommend that you back up your Modeler model before importing a Simulink model to a Class.
3. Ensure that the Simulink model with which you are working is not open in Simulink.
4. Create a Class, right-click the Class, and select Tools > SimulinkSynchronizer > Synchronize.
5. Set the options on each page of Integration for MATLAB Simulink as required.
For information about the options that appear on a page of Integration for MATLAB Simulink, click the Help button.
* 
If you are updating a Class from a previously imported Simulink model, on the Mapping List page, select the Integration for MATLAB Simulink Mapping you used to previously import that Simulink model.
On the Target Selection page, select the Simulink -> Modeler option.
If on the Item Mapping Definitions page an icon indicates that an item has changed in the Modeler model (for example or ), confirm that it is acceptable for the import to overwrite those changes.
If in future you want to be able to quickly update the Internal Block Diagram with changes you make to the Simulink model, on the Save and Synchronize page click the 'Save and Synchronize' button.
Integration for MATLAB Simulink imports the Simulink model to the Class.
Was this helpful?