Why do I get an error saying my Simulink Real-Time
Why do I get an error saying my Simulink Real-Time model is out-of-date and must be rebuilt?
I am trying to load a compiled Simulink Real-Time application .MLDATX file on my Speedgoat target computer. The application was compiled on a different PC, or on the same PC but a long time ago. When I do this, I may get the error message:
Error using slrealtime.Target/throwError
Cannot load 'model' on target 'TargetPC1': Cannot install 'model'
on target 'TargetPC1': 'model' is out-of-date and must be rebuilt.
Error is slreatime.Target/load
NOTE:-
Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help , Finance Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
Try this workaround
To resolve this error message, rebuild the model on the development PC that is connected to the target. To do this, open the Simulink model, and in the Real-Time tab, select “Run on Target” > “Build Application”. This assumes that you have the Simulink model available, and that you have access to SLRT Developer Engineer licenses (MATLAB, Simulink, MATLAB Coder, Simulink Coder, Simulink Real-Time).
What this issue means
There may be several possible reasons for this error message:
(1) The most common reason for this error is that the real-time application MLDATX file was built using a different MATLAB release, or using a different update of the MATLAB release compared to the PC that’s connected to the target. It is likely that not all users contributing to the project are on the same update of the release.
You should verify that all the computers being used are on the same MATLAB release and update as per:
>> version
(2) Verify that the version of Speedgoat I/O Blockset installed on all development PCs has the exact same version installed. You can check the version of Speedgoat I/O Blockset using:
SEE COMPLETE ANSWER CLICK THE LINK