- To automate the model exporting process, you can use the save_system command and a MATLAB script to run through all the models and model references and export them to a previous version. Take a look at its documentation here. The documentation page Programmatic Modeling Basics might also be useful to understand the Simulink API to work with models from MATLAB. Although this not directly talk about exporting as an operation it does talk about a few programmatic fundamentals.
- I am not sure why you are seeing that error regarding the delay block and the sample time not accepting -1. I looked at the shipping demo model ex_delay_block_varsize_for_sample_based_mode and was able to run that model in R2012b despite the delay block setting the sample time to -1 and inheriting from upstream blocks. This leads me to believe this issue is specific to your model. I would use the sample time colors utility to debug what's going on. Take a look at the documentation here.
Converting Models from 2015a back to 2012b
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Harish Shekarappa
il 14 Ott 2016
Hi, I need to convert the Models developed using R2015a 64bit to previous version R2012b 32bit. I used the export option to save it to previous version. The model saves but after opening it in 2012b it throws the following errors 1) Error while bringing model references of model up to date, I updated the referenced model to 2012b and updated the reference accordingly. 2) Its asking a discrete value for Delay sample time and its not taking the -1.
Also I would like to get this process automated for all the models in Directory and subdirectories
Thanks, Harish S
0 Commenti
Risposta accettata
Swarooph
il 14 Ott 2016
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Programmatic Model Editing in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!