Simulink, repeat a model
4 ビュー (過去 30 日間)
古いコメントを表示
Hello everyone, I have created a model for energy storage algorithim, the input of the system is an excel sheet with the generation hourly data for one year, i need to repeat the same model for several yaer changing some paramers in the model for each year but I am not sure how. In other words i need to rerun the model or restart the excel sheet with different model paramiters once the input excel sheet is completed.
Please ask if you need anymore details Many thanks in advance
0 件のコメント
回答 (1 件)
Sean de Wolski
2017 年 7 月 28 日
編集済み: Sean de Wolski
2017 年 7 月 28 日
Use sim to programmatically run the model with the other excel sheets. You can use set_param to modify the source Excel sheet if it's a block parameter or just load the new data into the workspace if that is the source.
2 件のコメント
Sean de Wolski
2017 年 7 月 31 日
In that case use set_param to change the parameter and sim to run the changed model with.
参考
カテゴリ
Help Center および File Exchange で Data Import from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!