Why do I get blocks with bad links when I open a model in Simulink 4.0/4.1 (R12/R12SP1) which was saved using Simulink 5.0/5.1 (R13/R13SP1)?
3 views (last 30 days)
Show older comments
I create or modify a model in Simulink 5.0 (R13) and then save the model as Simulink 4.0/4.1 (R12/R12SP1). When I open the saved model with Simulink 4.0 (R12) or Simulink 4.1 (R12SP1), I see that some of library blocks show up as bad links.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This issue has been fixed in Simulink 6.0 (R14). If you are using a previous version, read the following:
This is a bug in Simulink 5.0/5.1 (R13/R13SP1) in the way that the Perl script processes the .mdl file.
To workaround this issue in Simulink 5.0/5.1 (R13/R13SP1), follow the steps below:
1. Download the attached "slsaveas.m" and the "slsaveasaddon.m" to the following folder:
$MATLABROOT\toolbox\simulink\simulink
where $MATLABROOT is the value returned by entering the following command at the MATLAB command prompt:
matlabroot
2. Reopen MATLAB and verify that the issue is resolved.
0 Comments
More Answers (0)
See Also
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!