uisetdate2(varargin​)

バージョン 1.7.0.0 (31 KB) 作成者: Sundeep
Interactive date selection. This function is based on MATLAB's built in 'calendar' function
ダウンロード: 546
更新 2015/3/5

ライセンスの表示

SYNTAX:
outdate = uisetdate2 : Opens an interactive date selection GUI. This
function suspends execution until date selection is complete or
cancelled. Returns a 1-by-3 partial date vector 'outdate' containing
the selected year, month, and day as its respective elements.
outdate = uisetdate2(<Property>, <Value>, ...): Allows the user to
specify property/value pairs
PROPERTY/VALUE PAIRS
'MIN_YEAR', <1>: The minimum selectable year is specified. It should
not be less than 1.

'MAX_YEAR', <9999>: The maximum selectable year is specified. It should
not be greater than 9999, and should always be greater than or equal to
MIN_YEAR.

'StartingDate', <[]>: The starting date can be specified as a
date vector (or a partial date vector of three elements containing
year, month, and day). This date will be set when the interface is
launched. If the year corresponding to this StartingDate is outside the
range [MIN_YEAR, MAX_YEAR] then the year field of the date
vector is limited to MIN_YEAR or MAX_YEAR, as the case may be. It is
also possible to specify N date vectors to be selected as an N-by-3
(partial date vector) or N-by-6 (full date vector) matrix.

'MULTI_SELECT', <false>: If set to true, the user can select multiple
dates interactively. The return value is then an N-by-3 matrix of
partial date vectors where N is the number of dates selected.

引用

Sundeep (2024). uisetdate2(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/32526-uisetdate2-varargin), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDates and Time についてさらに検索
タグ タグを追加
謝辞

ヒントを得たファイル: uisetdate, UIGETDATE

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.7.0.0

Modified to work with R2014a onwards

1.6.0.0

Modified to work with changes in R2014a onwards.

1.5.0.0

Minor bugfix

1.2.0.0

Fixed bug that surfaced when trying to select the dates common to a single day in the multi-select mode. Selecting Mondays would select Sundays, selecting Tuesdays would select Mondays, and so on.

1.1.0.0

Minor documentation update and other changes

1.0.0.0