Clear Filters
Clear Filters

Simulate with varying parameter and getting a 3-D representation of it

4 views (last 30 days)
Hi,
I want to simulate a model several times by making two parameter varying with a 0.1 pace. Then I want to plot the results in a 3D representation.
My problem is that I am using a continuous integration algorithm and the structure outputted by the model has a size that vary depending of the simulation. So I cannot concatenate the multiple matrix in order to request a surf.
How would you proceed for that kind of case ? Changing for a discrete algorithm is not an option.
Thanks

Answers (1)

Sebastian Castro
Sebastian Castro on 4 Feb 2015
If you open the model's configuration parameters, and go to the Data Import/Export pane, there is a set of options called Output Times.
If you choose the Produce specified output only option, you can then enter your own time vector. This will ensure that all logged data at the end of the simulation has data points only at those times.
- Sebastian

Products

Community Treasure Hunt

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

Start Hunting!