Top-level approach to Simulink parameter study

I inherited a Simulink model that I will use for a study in which ~50 parameters are varied. This will require repeatedly running the model for each choice of parameter value, saving the output, and estimating summary statistics. For parameter changes that produce interesting statistics, I will need to resurrect and compare the time-varying behavior of the system. The Simulink model and choice of summary statistics will likely evolve.
Since I am new to Simulink, I would like top-level advice on how to cut into this pie. Should I have a master script mfile that walks through the parameter combinations, passes them to Simulink, and saves the result in a giant structure? Or...?

 채택된 답변

Kaustubha Govind
Kaustubha Govind 2012년 2월 15일

1 개 추천

The SystemTest product seems exactly what you need. Check out some Demos and Webinars. You can also ask for a trial version of the product if you're not sure you want to buy it.
Alternatively, of course, you can perform similar analysis using the Simulink command-line API. I don't have much experience doing this sort of thing, but I think you would be best advised to save results from each iteration to a MAT-file and then load each MAT-file in turn to do the analysis. This will ensure that you won't lose any data for whatever untoward reason and be forced to repeat simulations.

댓글 수: 1

K E
K E 2012년 2월 16일
Thanks. For the first pass at the problem, I will run Simulink from the command line. The following tutorials appear helpful: http://www.chem.mtu.edu/~tbco/cm416/MatlabTutorialPart3.pdf , http://www.goddardconsulting.ca/simulink-interfacing-with-matlab.html .

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Verification, Validation, and Test에 대해 자세히 알아보기

제품

질문:

K E
2012년 2월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by