convert simulink model to older version

I have a model developed in matlab ver 2023a I need to convert it into version 2011a.
I ask if it's possible doing this:
1) convert from 2023a to 2016a
2) then convert the converted model from 2016a to 2011a
Thanks to any answer
Regars
Michela

Answers (2)

Samyuktha
Samyuktha on 4 Apr 2023
Edited: Samyuktha on 4 Apr 2023
Hi Michela,
I understand that you want to convert the version of your Simulink model.
1. To convert the new version to the old one:
In the Simulink window, File > Save > Previous version and save in your desired version.
For more information, please refer to the Export Model to Previous Version of Simulink section in the following documentation link:
2. To convert the old version to the new one:
Open the original model in Simulink new version and save it as the new model (*.slx or *.mdl).
Hope it helps!

7 Comments

Hi Samyuktha,
thanks for your answer. But my question is a bit different.
I know how to convert from new version to old version. But I need to know if it's possible to do a 'jump' .
I have a model developed in matlab version 2023a. Using this Matlab version I converted the model from 2023a to 2016a but not beyond this version, because it's not possible.
What I'd want to know if it's possible to covert this 'converted model' to an older matlab version, using a older Matlab, installed on another pc (this is my case).
So it's a jump between 3 version : 2023a jump to 2016a jump to 2011a
can I do it?
thanks again
Micky
Hi Micky,
Yes you can convert the 'converted model' to an older version using an older version of MATLAB.
Thank you,
Samyuktha
Hi, I converted the 'converted model' ... the method works.
So now I have a 2011a model from a 2023a model. Very good
Can anyone help me with the same issue, converting the saved 2024a file format to 2022a.
As I have 2022 version and want to run the 2024 one.
I suggest using MATLAB Online to convert R2024a to R2022a, and then downloading the converted model.
the matlab online version does not support simulink?? how to convert then?
Samething sir, but I don't mind how should be work on MATLAB online because I load most old version so much and may be have some trouble. You try one more time if can do that. Try your best, sir.

Sign in to comment.

SHRISHA
SHRISHA on 15 May 2024
Edited: Walter Roberson on 7 Aug 2024
scenario = robotScenario(UpdateRate=1,StopTime=10);
robotRBT = loadrobot("frankaEmikaPanda");
robot = robotPlatform("Manipulator",scenario, ...
RigidBodyTree=robotRBT);
box = robotPlatform("Box",scenario,Collision="mesh", ...
InitialBasePosition=[0.5 0.15 0.278]);
updateMesh ( box,"Cuboid",Collision="mesh",Size=[0.06 0.06 0.1])
ax = show3D(scenario,Collisions="on");
view(79,36)
light
initialConfig = homeConfiguration(robot.RigidBodyTree);
pickUpConfig = [0.2371 -0.0200 0.0542 -2.2272 0.0013 ...
2.2072 -0.9670 0.0400 0.0400];
planner = manipulatorRRT(robot.RigidBodyTree,scenario.CollisionMeshes);
planner.IgnoreSelfCollision = true;
rng("default")
path = plan(planner,initialConfig,pickUpConfig);
path = interpolate(planner,path,25);
setup(scenario)
checkCollision(robot,"Box", ...
IgnoreSelfCollision="on")
helperRobotMove(path,robot,scenario,ax)
checkCollision(robot,"Box", ...
IgnoreSelfCollision="on")
attach(robot,"Box","panda_hand", ...
ChildToParentTransform=trvec2tform([0 0 0.1]))
dropOffConfig = [-0.6564 0.2885 -0.3187 -1.5941 0.1103 ...
1.8678 -0.2344 0.04 0.04];
path = plan(planner,pickUpConfig,dropOffConfig);
path = interpolate(planner,path,25);
helperRobotMove(path,robot,scenario,ax)
detach(robot)
path = plan(planner,dropOffConfig,initialConfig);
path = interpolate(planner,path,25);
helperRobotMove(path,robot,scenario,ax)
function helperRobotMove(path,robot,scenario,ax)
for idx = 1:size(path,1)
jointConfig = path(idx,:);
move(robot,"joint",jointConfig)
show3D(scenario,fastUpdate=true,Parent=ax,Collisions="on");
drawnow
advance(scenario);
end
end

1 Comment

I do not understand how this solves the question of converting Simulink models?

Sign in to comment.

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 4 Apr 2023

Commented:

on 9 Mar 2025

Community Treasure Hunt

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

Start Hunting!