Undefined function or variable

3 次查看(过去 30 天)
I'm using matlab on my Mac and I'm trying to use the function "year" but it gives me this problem:
Undefined function or variable 'year'.
It's weird because on the helper I can easily find the function "year"

采纳的回答

Explorer
Explorer 2016-1-6
编辑:Explorer 2016-1-6
It's because you are using older version of MATLAB. Year Function was introduced first in R2014b version of MATLAB.
  1 个评论
Alessandro M
Alessandro M 2016-1-7
No I solved it, I have R2015a version but the problem is that the function year that I needed was in the financial toolbox and I didn't install that toolbox..thank you anyway

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by