Slider selection for a duration type data

Hello everyone, I wonder if there is a way to select a specific time (duration) using something like a numeric slider...
Any suggestion?

2 Kommentare

Cris LaPierre
Cris LaPierre am 12 Nov. 2021
Where are you using a slider? Are you using a control in a live script or a uislider?
Pietro Fedrizzi
Pietro Fedrizzi am 12 Nov. 2021
My idea was to use a control in the live script..

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Cris LaPierre
Cris LaPierre am 12 Nov. 2021

0 Stimmen

The only way I could find to do this is to put the slider inside my duration function. For example, this screen shot shows how I could use a slider to return minutes.

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 12 Nov. 2021

Beantwortet:

am 12 Nov. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by