Iteratively increase Simulink Slider Values Automatically?

조회 수: 7 (최근 30일)
Maximilian Hart
Maximilian Hart 2020년 3월 22일
답변: Karan Singh 2025년 2월 5일
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일
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 CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by