UIcalendar set max and min date

3 次查看(过去 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 CenterFile Exchange 中查找有关 Time Series Objects 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by