why does the year function not work as specified in documentation?
1 回表示 (過去 30 日間)
古いコメントを表示
see attachment
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151729/image.png)
0 件のコメント
採用された回答
Mischa Kim
2015 年 6 月 30 日
Edmund, you probably do not have access to the Financial Toolbox. Check out this answer for more info.
4 件のコメント
その他の回答 (1 件)
Azzi Abdelmalek
2015 年 6 月 30 日
Check if year is not used as a variable. Try this
clear year
year('12-dec-1992')
参考
カテゴリ
Help Center および File Exchange で Financial Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!