Convert UIDatePicker to Default

6 vues (au cours des 30 derniers jours)
shnrndll
shnrndll le 20 Sep 2021
Commenté : shnrndll le 21 Sep 2021
After picking a date, how can I command the UIDatePicker to display the default Value above? To choose new date(s). Please advise.

Réponse acceptée

Geoff Hayes
Geoff Hayes le 21 Sep 2021
shnrndll - try setting to the default value of NaT (from Value) as
myDatePicker.Value = NaT;
where myDatePicker is the uidatepicker object.
  1 commentaire
shnrndll
shnrndll le 21 Sep 2021
This worked thank you!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by