UIcalendar set max and min date

2 ビュー (過去 30 日間)
Beder
Beder 2017 年 3 月 3 日
コメント済み: Beder 2017 年 3 月 7 日
Dear all, I'm currently working with the uicalendar of matlab. Since my program only allows a certain date range to be inserted, I'm looking for a way to not allow entries below, let's say, 01-01-1980.
Is there any way to do so?
Thank you in advance Peter
  2 件のコメント
dpb
dpb 2017 年 3 月 3 日
編集済み: dpb 2017 年 3 月 3 日
Woulda' thunk there'd been a linked callback routine handle but doesn't appear to be...to use this control looks like you'll have to add your own post-processing of the return value from the user and inform them if not within acceptable bounds. The (relatively) new datetime class has pretty good support for such things.
Would seem to be a reasonable enhancement request to submit to TMW www.mathworks.com
Beder
Beder 2017 年 3 月 7 日
Not what I've hoped to achieve, but now I'm sure that I can only do it this way. Thank you very much.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeTime Series Objects についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by