open R2017a Simulink Model into R2015b

I have a model that is done in MATLAB Simulink R2017a and I want to open it in MATLAB Simulink R2015b. Unfortunately, I don't have 2017 version so I can export it to previous version. is there any way for doing this?

5 commentaires

Walter Roberson
Walter Roberson le 9 Oct 2017
If you can attach the model (and it is not a commercial model) then I can convert it for you.
OzanOzmen
OzanOzmen le 8 Jan 2019
Merhaba, 2017 b de kaydedilmiş simulink dosyasını 2016 b de açmam gerekiyor. Yardımcı olur musunuz?
Hi, Could somebody convert my 2017a simulink model to 2015a version and share? I am unable to do it. Thanks in advance.
dhruv gajwa
dhruv gajwa le 25 Nov 2019
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.
https://www.mathworks.com/help/simulink/slref/simulink.exporttoversion.html#d122e311637

Connectez-vous pour commenter.

Réponses (2)

Marco
Marco le 9 Oct 2017
Modifié(e) : Marco le 9 Oct 2017

0 votes

BR Marco

3 commentaires

Walter Roberson
Walter Roberson le 9 Oct 2017
Unfortunately the solution there requires access to a MATLAB Simulink version at least as new as the one used to create the file.
Marco
Marco le 9 Oct 2017
Yes, you are right. The only possibility is to have a newer version of Matlab.
dhruv gajwa
dhruv gajwa le 25 Nov 2019
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.

Connectez-vous pour commenter.

Sri Harish
Sri Harish le 9 Fév 2019

0 votes

clear all
clc
syms t s y(t) Y
dy(t)=diff(y(t));
d2y(t)=diff(y(t),2);
F = input('Input the coefficients [a,b,c]: ');
a=F(1);b=F(2);c=F(3);
nh = input('Enter the non-homogenous part f(x): ');
eqn=a*d2y(t)+b*dy(t)+c*y(t)-nh;
LTY=laplace(eqn,t,s);
IC = input('Enter the initial conditions in the form [y0,Dy(0)]: ');
y0=IC(1);dy0=IC(2);
LTY=subs(LTY,{'laplace(y(t), t, s)','y(0)','D(y)(0)'},{Y,y0,dy0});
eq=collect(LTY,Y);
Y=simplify(solve(eq,Y));
yt=simplify(ilaplace(Y,s,t));
disp('The solution of the differential equation y(t)=')
disp(yt);
ezplot(yt,[y0,y0+2]);

Catégories

En savoir plus sur Modeling dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by