Convert UIDatePicker to Default

조회 수: 6 (최근 30일)
shnrndll
shnrndll 2021년 9월 20일
댓글: shnrndll 2021년 9월 21일
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.
  댓글 수: 1
shnrndll
shnrndll 2021년 9월 21일
This worked thank you!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by