MATLAB Answers

0

Move target data to new version of slrt after an upgrade

Asked by James Brown on 4 Apr 2018
Latest activity Answered by Jon Lobo on 4 Jul 2018
After upgrading to a new version of Matlab/Simulink/SLRT, I'd like to port all my realtime targets into the new slrtexplr. Is that possible?

  0 Comments

Sign in to comment.

1 Answer

Answer by Jon Lobo on 4 Jul 2018

They should automatically be carried over through your MATLAB preferences.
If they are not for some reason, you can using slrtTargets = SimulinkRealTime.getTargetSettings('-all'); to store your target settings in a MATLAB variable. You can then save this to a MAT file.
From there, you can import the MAT file into the new version of MATLAB and use SimulinkRealTime.addTarget to add the different targets.
Again, I don't suspect you'll need to do that. They should come over through your MATLAB preferences (assuming your new MATLAB version is installed on the same computer your old one was).

  0 Comments

Sign in to comment.