MATLAB: How to create a clickable timeline using app designer, with play/pause button

app designerMATLABtimeline

I am creating an app with app designer in 2019b. What I am trying to do is to creating a clickable timeline, where you can use to make the plot of data at that particular time instance visible.
I'm quite new to app designer and have tried to use slider but had no luck so far. Anyone can help me on what object to choose?

Best Answer

Actually I've solved this myself, in case anyone else is interested:
Use slider as an interactive timeline. Set the value of the slider equal to the current time of the plot, then as the plot starts, it will update the slider value.