Simulink, repeat a model

조회 수: 5 (최근 30일)
Muhanad Hamad
Muhanad Hamad 2017년 7월 28일
댓글: Sean de Wolski 2017년 7월 31일
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

답변 (1개)

Sean de Wolski
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
Muhanad Hamad
Muhanad Hamad 2017년 7월 29일
편집: Muhanad Hamad 2017년 7월 29일
Thanks for the answer Sean, maybe i should have explained better. what i want to do is to repeat the same excel sheet changing one parameter in the model (not in the excel sheet) in one run,
Sean de Wolski
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 CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by