sequential Simulations

2 views (last 30 days)
Andreas
Andreas on 23 Apr 2012
Hello,
I am new to MatLab and Simulink and have a design-question. In my project I have to execute several Simulink-simulations after each other and carry together the results. More specificly, I will look at several rides of a device. It is important, that the whole thing can have a comfortable GUI and doesn't get too complex, so other people can get into it quickly.
My question is: How do I design this best and unriskyest (so I don't waste time on insufficient implementations)? Currently I see two options: Write it as a MatLab-Script or model it with StateFlow as a state graph (but there I have absolutely NO IDEA how hard that would be or if that would like nice in the end). But maybe there is also other possibilities.
Can somebody please help me with that?
Greetings,
Andy

Accepted Answer

K E
K E on 23 Apr 2012
Here is my experience in case it is helpful. I have a parameter study with multiple Simulink runs which I execute it from within a Matlab script. For each run, I generate parameters in the workplace, run the simulation, extract desired simulation results, then save a mat file with the results. There is additional scripting at the end to generate comparison plots. As a Simulink beginner who is comfortable with Matlab, I took 1-2 weeks to get the script working well. This is not including time to set up and debug the Simulink model. My colleague, also a Simulink beginner, took about 3 days to get a GUI working on another Simulink application. Hope these time estimates are helpful for planning your approach.
  1 Comment
Andreas
Andreas on 7 May 2012
Yes, that worked very well! Thank you very much.

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!