Creating countdown timer in gui

10 次查看(过去 30 天)
Benson Jake
Benson Jake 2023-6-23
回答: Rik 2023-6-23
im trying to make a countdown timer starting from 10:00 in GUI. i still cant figure out how to link the button and the static text.

回答(1 个)

Rik
Rik 2023-6-23
A GUI in Matlab is nothing special, it simply provides an interface between the user and the functions you write separately. For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread.
As long as you store the handles to the relevant objects in a place where both functions can reach it, there should be no problem linking anything (although linking may not be the correct term).

类别

Help CenterFile Exchange 中查找有关 Platform and License 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by