필터 지우기
필터 지우기

open R2017a Simulink Model into R2015b

조회 수: 3 (최근 30일)
shihabsat
shihabsat 2017년 10월 8일
댓글: Muhammad Zeeshan Ahmed Khan 2020년 12월 31일
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
dhruv gajwa
dhruv gajwa 2019년 11월 25일
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.
Muhammad Zeeshan Ahmed Khan
Muhammad Zeeshan Ahmed Khan 2020년 12월 31일
https://www.mathworks.com/help/simulink/slref/simulink.exporttoversion.html#d122e311637

댓글을 달려면 로그인하십시오.

답변 (2개)

Marco
Marco 2017년 10월 9일
편집: Marco 2017년 10월 9일
BR Marco
  댓글 수: 3
Marco
Marco 2017년 10월 9일
Yes, you are right. The only possibility is to have a newer version of Matlab.
dhruv gajwa
dhruv gajwa 2019년 11월 25일
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.

댓글을 달려면 로그인하십시오.


Sri Harish
Sri Harish 2019년 2월 9일
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]);

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by