Unable to convert the 2021 mdl to 2009b mdl
3 views (last 30 days)
I'm unable to open the 2021b model in 2009b. When trying to open the model in 2009b . It is giving me the below error
"MDF file is probably corrupted, UserData parameter is invalid"
I have tried below methods
- Tried to export the model to previous version but there is no 2009b option in dropdown list
- Unchecked "Do not load the models created in newer versions of simulink"
None of the above worked.
Can someone suggest what to do?
Thank you in advance
Fangjun Jiang on 22 Sep 2023
Edited: Fangjun Jiang on 22 Sep 2023
You can do this, but of course, if there are blocks that are available in R2021b but not in R2009b, then there could be issues. You will see those warning messages in the MATLAB Command Window.
If you use the Export to Previous Version dialog box instead of Simulink.exportToVersion, then the Save as type list supports 7 years of previous releases.