SimPowerSystems Model parameter change dynamically
1 回表示 (過去 30 日間)
古いコメントを表示
I am using SimPowerSystem tool of Simulink. Is there any way to convert 'mdl' to m file ? No !!!!!
Well, I need to simulate 1000s of possible pattern in my model changing the parameters of building blocks of my model. How do I do that? Hope you won't tell me to do it manually.
I am dying for a solution, please suggest. (I cannot code each blocks as m file, it will take me 1000 years )
0 件のコメント
採用された回答
Fangjun Jiang
2011 年 10 月 16 日
You can't convert .mdl file to .m file
You can control the simulation of your .mdl file using .m file. The key function is sim(). You can write a .m script changing your parameters and then run simulation using sim(). You can put this in a loop to run it thousands of times.
2 件のコメント
Kaustubha Govind
2011 年 10 月 17 日
+1
Using SET_PARAM to change model/block parameters before each simulation, and running the simulation using SIM is the way to go.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Manual Performance Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!