MATLAB: How to ensure the Simulink model works in a different MATLAB release

compatibilityexportmodelopenr2013br2017bsavesimulinkversion

I am working in MATLAB R2017b, but some of my coworkers use MATLAB R2013b. How can I ensure that any Simulink model I create in R2017b can be opened by my coworkers using R2013b?

Best Answer

To save a Simulink model to be used in a different version, export the model. In this case, to export a model saved in MATLAB R2017b to be compatible with R2013b, follow the steps below:
  • Open the model in Simulink R2017b
  • Select File > Export Model to > Previous Version
  • Select Simulink 8.2/R2013b Models' from the drop-down list in the 'Save as type' field 
It is important to note that if the model contains blocks or features that postdate the earlier version, Simulink will convert the affected blocks into yellow empty blocks, or could potentially give incorrect results. To check when a certain feature or block was added, refer to the bottom of its documentation page where it says "Introduced In Rxxxx".