How to implement the inputted value to a function?

1 次查看(过去 30 天)
Hello everyone, totally beginner question
I have created this spiner(for Pace) below via the App Designer with some values to be inputed.
How could I implement the inputted value to the function below?
Attatched the GUI code so far
Thanks in advance

采纳的回答

Cris LaPierre
Cris LaPierre 2022-3-11
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Signal Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by