Iteratively increase Simulink Slider Values Automatically?

3 ビュー (過去 30 日間)
Maximilian Hart
Maximilian Hart 2020 年 3 月 22 日
回答済み: Karan Singh 2025 年 2 月 5 日 6:45
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!!!

回答 (1 件)

Karan Singh
Karan Singh 2025 年 2 月 5 日 6:45
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

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by