How to implement the inputted value to a function?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Nikos Korobos
am 10 Mär. 2022
Kommentiert: Nikos Korobos
am 18 Mär. 2022
Hello everyone, totally beginner question
I have created this spiner(for Pace) below via the App Designer with some values to be inputed.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/922229/image.png)
How could I implement the inputted value to the function below?
Attatched the GUI code so far
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/922234/image.png)
Thanks in advance
Akzeptierte Antwort
Cris LaPierre
am 11 Mär. 2022
It's already implemented for you. The template code already captures the current value in the variable changingValue.
The spinner object is passed into the function via the event structure. You access the value property using event.Value. You could also use app.PaceSpinner.Value.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Signal Processing Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!