UIcalendar set max and min date
3 views (last 30 days)
Show older comments
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 Comments
dpb
on 3 Mar 2017
Edited: dpb
on 3 Mar 2017
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.
Answers (0)
See Also
Categories
Find more on Time Series Objects in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!