Iteratively increase Simulink Slider Values Automatically?

7 visualizaciones (últimos 30 días)
Maximilian Hart
Maximilian Hart el 22 de Mzo. de 2020
Respondida: Karan Singh el 5 de Feb. de 2025
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!!!

Respuestas (1)

Karan Singh
Karan Singh el 5 de Feb. de 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

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by