Convert UIDatePicker to Default

8 次查看(过去 30 天)
After picking a date, how can I command the UIDatePicker to display the default Value above? To choose new date(s). Please advise.

采纳的回答

Geoff Hayes
Geoff Hayes 2021-9-21
shnrndll - try setting to the default value of NaT (from Value) as
myDatePicker.Value = NaT;
where myDatePicker is the uidatepicker object.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Calendar 的更多信息

标签

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by