Hi I am facing some issues in converting from (.slx) version of models into (.mdl) version.
古いコメントを表示
I opened the model in 2012b and made saveas to .mdl format but when i do this and open the model in 2011a all stateflow charts are converted to S-Functions. I am not able to work on this model in 2011a. what would be the problem?, can anyone suggest me how to convert .slx to .mdl?
4 件のコメント
Kaustubha Govind
2013 年 9 月 17 日
All Stateflow charts automatically generate S-functions for execution. Do you mean that the Stateflow charts are actually replaced by S-function blocks, or are you simply pointing out the fact that C-MEX S-functions are being generated for them?
Kaustubha Govind
2013 年 9 月 17 日
Also, what is the error when you run the model in R2011a?
Thomas
2014 年 2 月 15 日
Hello,
i have a similar problem. I use Matlab R2011b. Sometimes when i save my model, some stateflow charts will replaced by the S-function Block! I have no Idea why? The Simulation isnt possible because the mex File is missing. The main Problem is, i have no chance to get my Stateflow chart back. Does anyone have same problems or an solution? brg
Yoko
2015 年 6 月 4 日
If you are saving '.mdl' from menu [File]-[Save as] in Simulink menu, try saving model by [File]-[Export Model to...]-[Previous Version], and select version in the popped window.
回答 (1 件)
Tarun Jhamnani
2015 年 6 月 4 日
0 投票
I have faced this problem many times while working with multiple versions of MATLAB. I am not sure what is the exact reason but i feel designing a model with a higher version of MATLAB and opening the same in lower version corrupts Stateflow due to non - availability of the properties. Best option is to always Export model to previous version of MATLAB as per your need before opening the model in lower version. File ->Export Model to Previous Version -> Select the MATLAB version and Done
カテゴリ
ヘルプ センター および File Exchange で Decision Logic についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!