Any -WORKING- conversion function for .mdl between Simulink versions ?
3 views (last 30 days)
Show older comments
Hello there, I'm really disappointed to see how bad the "Convert to" function works in Simulink. I'm trying to use a .mdl developed with v8.0(R2012b), into a previous version : v6.5(R2006b). Normally I did not use any of the new blocks specifically to prevent any export problem, but visibly, without giving me any output error, the conversion function just create a useless file that my older version opens (with a lot of warning about some parameters apparently missing) as a blank window (like if it was just a new .mdl...) !
So is there any working solution here ?
Right now Simulink is just pissing me of... so sry for my English and more over for my nerves... Thanks in advance for any usefull answer.
Bye
0 Comments
Answers (2)
Ryan G
on 24 Jun 2013
If you're having a lot of trouble with exporting to a previous version there are a couple things you can try to find the problem. It also sounds like you may be working with a relatively large model given you are having such issues. Furthermore, if none of this helps, you can elaborate on the process you are using to export to a previous version (file menu vs command line).
1) Break your model up into it's components/subsystems. Put each subsystem into a new model and export that to 2006b. This will narrow down where there is something that is unsupported or causing a problem.
2) Are there any callbacks? Any data in the model workspace? The warnings sound like that could be a problem in 6b.
0 Comments
Eric
on 24 Jun 2013
1 Comment
Ryan G
on 24 Jun 2013
Long term you want to break it apart to find the section that isn't working, fix whatever is broken there, then go back to using the full export functionality.. If all the parts work separately, but not together, I would contact tech support to see if they can help find the bug with the full model.
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!