| Contents | Index |
uicalendar('PARAM1', VALUE1, 'PARAM2', VALUE2', ...)
'BusDays' | Values are:
|
'BusDaySelect' | Values are:
|
'DateBoxColor' | [date R G B] : Sets the color of the date squares to the specified [R G B] color. |
'DateStrColor' | [date R G B] : Sets the color of the numeric date number in the date square to the specified [R G B] color. |
'DestinationUI' | Values are:
|
'Holiday' | Sets the specified holiday dates into the calendar. The corresponding date string of the holiday will appear Red. The Date(s) must be a scalar or vector of datenums. |
'InitDate' | Values are:
|
'InputDateFormat' | Format — Sets the format of initial start date, InitDate. See 'help datestr' for date format values. |
'OutputDateFormat' | Format — Sets the format of output date string. See 'help datestr' for date format values. |
'OutputDateStyle' | Values are:
|
'SelectionType' | Values are:
|
'Weekend' | DayOfWeek — Sets the specified days of the week as weekend days. Weekend days are marked in red. DayOfWeek can be a vector containing the following numeric values:
Also this value can be a vector of length 7 containing 0's and 1's. The value 1 indicates a weekend day. The first element of this vector corresponds to Sunday. For example, when Saturday and Sunday are weekend days then WEEKEND = [1 0 0 0 0 0 1]. |
'WindowStyle' | Values are:
|
uicalendar('PARAM1', VALUE1, 'PARAM2', VALUE2', ...) supports a customizable graphical calendar that interfaces with uicontrols. uicalendar populates uicontrols with user-selected dates.
Create a uicontrol:
textH1 = uicontrol('style', 'edit', 'position', [10 10 100 20]); Call UICalendar:
uicalendar('DestinationUI', {textH1, 'string'})Select a date and click 'OK'.

For more information on using uicalendar with an application, see Example of Using UICalendar with an Application.
View demos and recorded presentations led by industry experts.
Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |