Move target data to new version of slrt after an upgrade

조회 수: 2 (최근 30일)
James Brown
James Brown 2018년 4월 4일
답변: Jon Lobo 2018년 7월 4일
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?

답변 (1개)

Jon Lobo
Jon Lobo 2018년 7월 4일
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).

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by