Iteratively increase Simulink Slider Values Automatically?

6 views (last 30 days)
Hi,
I have a vehicle lap simulation in Simulink which includes sliders and knobs to change certain setup perameters. I'm looking to get the simulation to start at the minimum of each and iteratively increase each, outputting the data to a stop function which plots graphs. I want all the graphs for each iteration to be availiable to view afterwards. I know I could use a for/while and bypass the sliders, but was wondering if there is a way to sort of 'automate' it using the existing dashboad features? Not sure even where to start really!!
Also if anyone has an idea on how to allow the user to select and 'store' maybe 5 preset setups using these sliders and knobs, then run all of them at once, to view and compare data from each setup that would be amazing. Again, not sure where to start there either....
Sorry, I know I'm asking a lot.
Thanks!!!

Answers (1)

Karan Singh
Karan Singh on 5 Feb 2025
This seems like quite a comprehensive task. I'm suggesting a few tools that you can try to see if they fit your workflow:
I hope these ideas provide a helpful starting point for your project.
Karan

Categories

Find more on Simulink in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!