Integrations (PTC products, 3rd party products and code) > 3rd party product integrations (CM, DOORS, Rose, Simulink and XML) > Integration for MATLAB Simulink > What's new in Integration for MATLAB Simulink (Integration for MATLAB Simulink) > Overview of Integration for MATLAB Simulink (Integration for MATLAB Simulink)
  
Overview of Integration for MATLAB Simulink (Integration for MATLAB Simulink)
Through Integration for MATLAB Simulink, you can synchronize the following Modeler diagram and item types to a Simulink model:
SysML Parametric Diagram
SysML Internal Block Diagram
Class
SysML Requirement (import only)
* 
When a Simulink block diagram is synchronized with a model, do not create copies of any blocks on that block diagram, for example, through a Ctrl + drag operation.
When working with Integration for MATLAB Simulink, ensure that the Simulink model with which you are working is not open in Simulink.
For information about which versions of MATLAB Simulink are supported, see the Modeler Release Notes.
SysML Parametric Diagrams
Using Modeler and the SysML Profile, you can model structure and static mathematical constraints of a system through Parametric Diagrams. These constraints can be captured only as text within a model.
Integration for MATLAB Simulink allows you to create a Simulink block diagram from a Modeler Parametric Diagram. Through Simulink, you can develop the mathematical model further to model the constraints so that you can simulate to test the performance, reliability and correctness of the algorithm.
After making changes to the Simulink model, you can update its associated Parametric Diagram with those changes through Integration for MATLAB Simulink.
Integration for MATLAB Simulink allows you to create a Modeler Parametric Diagram from a Simulink block diagram.
Integration for MATLAB Simulink can export the following items from a Parametric Diagram - Constraint Properties, Constraint Parameters, Value Properties and Connectors.
For more information about exporting Parametric Diagrams to Simulink models and importing Simulink models to Parametric Diagrams.
SysML Internal Block Diagrams
Using Modeler and the SysML Profile, you can model data flow using SysML Internal Block Diagrams.
Integration for MATLAB Simulink allows you to export a Modeler Internal Block Diagram to a Simulink model and its block diagram. In a similar way to Parametric Diagrams, through Simulink, you can develop the mathematical model further to model the computation so that you can simulate to test the performance, reliability and correctness of the algorithm.
After making changes to the Simulink model, you can update its associated Internal Block Diagram with those changes through Integration for MATLAB Simulink.
Integration for MATLAB Simulink allows you to create a SysML Internal Block Diagram from a Simulink block diagram.
Integration for MATLAB Simulink can export the following items from an Internal Block Diagram - Parts, Flow Ports, Full Ports and Proxy Ports and Connectors.
* 
The owning Block must be shown on the Internal Block Diagram.
For more information about exporting Internal Block Diagrams to Simulink models and importing Simulink models to Internal Block Diagrams.
Classes
You can generate code from both Modeler and Simulink and combine it into a single software solution. In Modeler, you can model an interface to the code generated from Simulink.
Integration for MATLAB Simulink allows you to export a Modeler Class to a Simulink model and its block diagram. Through Simulink you can develop the code implementation and then generate code using Simulink's Real-time Workshop code generator or another third-party tool. Integration for MATLAB Simulink provides these Simulink Mappings, which you can select on the Target Selection page of Integration for MATLAB Simulink:
Simulink Basic Code Mapping — generic mapping of the Class and its Attributes, Operations and Operation Parameters to the Simulink model.
Simulink ERT Code MappingSimulink Mapping for when the Simulink Real-time Workshop is set up to use the ERT system target file for code generation.
Simulink GRT Code Mapping — mapping for when the Simulink Real-time Workshop is set up to use the GRT system target file for code generation.
The way you model your Classes in Modeler depends on which of the preceding Simulink Mappings you use. If you use the Simulink ERT Code Mapping, the way you model your Classes is also affected by whether the Simulink Real-time Workshop is set up to use the Default Code Interface or the Custom Code Interface.
For more information about exporting Classes to Simulink models and importing Simulink models to Classes.
SysML requirements
Simulink block diagrams can be used as low-level requirements in the development of a system. One example of this is when the diagrams are requirements from which software is written. To support this scenario in Modeler, Integration for MATLAB Simulink allows you to create SysML Requirements in the Modeler model from Simulink block diagrams. In Modeler, the SysML Requirements can then be linked to model items through the SysML traceability links.
For more information about importing Simulink models to SysML Requirements.
Simulink Profile
To use Integration for MATLAB Simulink, you must add the Simulink Profile to your Modeler model. After adding the Simulink Profile to your model, you can use the Simulink context menu commands to perform import and export operations.
For more information about the Simulink Profile.
Name Changing
When exporting items from Modeler, special characters that appear in the names of items are changed to underscores in Simulink, that is, characters such as !, ", £, $, %, &, (, ), =, ?, ^ and '.
If an object in Simulink has a name that contains a slash mark (/), Integration for MATLAB Simulink will not import that object and the synchronization will end.