MATLAB Answers

0

Opening a simulink file that was saved in R2018b version onto a R2017b version.

Asked by Aidil AA on 14 Nov 2018
Latest activity Answered by Gavin Walker on 3 Dec 2018
Hi guys, I have a Simulink file which was saved in the R2018B version of MATLAB, however, I only have access to the R2017B version of MATLAB. Is there any way for me to access the R2018b file? I do not have the R2018b version of MATLAB at all.

  4 Comments

Show 1 older comment
yes, it cant be opened in the R2017b version.
In theory it is possible .
If it is a mdl file then it is a text file that you can edit to change the version information .
If it is a slx file then you can unzip it to extract a directory of xml files . You can edit one of the xml files to change the version information and then you can zip it back up into a slx again .
mine is a slx file. thank you I will give it a shot.

Sign in to comment.

2 Answers

Answer by Gavin Walker on 3 Dec 2018
 Accepted Answer

Simulink has a preference, in the Model File section, called "Do not load models created with a newer version of Simulink". You can temporarily turn this off rather than edit the model files to change version numbers.
If the model uses only basic blocks then it might be possible to load it in R2017b, but it could also crash MATLAB. As others have commented, using the "Export to Previous Version" feature is the supported way to take a model from a later release to an earlier one.
Remember to turn the preference "Do not load models created with a newer version of Simulink" back on afterwards.

  0 Comments

Sign in to comment.


Answer by madhan ravi
on 14 Nov 2018
Edited by madhan ravi
on 14 Nov 2018

  2 Comments

thank you, but i have already read that before posting this question. the problem I have is that I do not have access to the newer model of MATLAB at all. I only have the r2017b version.
so better is to upgrade to 2018b

Sign in to comment.