Filter löschen
Filter löschen

After having created a MATLAB App of a Simulink Model, how do change the parameter edit fields into sliders?

1 Ansicht (letzte 30 Tage)
I have created a Matlab App of a Simulink Model. When I run the App, you can see that you can change the parameter using a edit field. It looks like this:
However, I want to use a slider insted that goes from 0 - 100. In the Design View, I can not see where the parameter edit field is and it looks like this:
Is there a simple way to change the edit field into a slider that changes the parameter during simulation? Or is there anything I can do in the Simulink model so that the parameter will automatically be edited via a slider when the App created?

Antworten (1)

Balavignesh
Balavignesh am 15 Mär. 2024
Hi Arif,
In MATLAB App Designer, you can adjust the slider limits by accessing the Component Browser menu, located on the right side of the app interface. This slider can then be linked to a parameter in your Simulink model that you wish to adjust.
Hope this helps!
Balavignesh.

Kategorien

Mehr zu Verification, Validation, and Test finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by