why does the year function not work as specified in documentation?

1 次查看(过去 30 天)
see attachment

采纳的回答

Mischa Kim
Mischa Kim 2015-6-30
Edmund, you probably do not have access to the Financial Toolbox. Check out this answer for more info.
  4 个评论
Edmund Smith
Edmund Smith 2015-6-30
I just answered my own question My Profile --> My Licenses. Thanks for your help.

请先登录,再进行评论。

更多回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2015-6-30
Check if year is not used as a variable. Try this
clear year
year('12-dec-1992')

类别

Help CenterFile Exchange 中查找有关 Financial Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by