Undefined function or variable

2 vues (au cours des 30 derniers jours)
Alessandro M
Alessandro M le 6 Jan 2016
Commenté : Alessandro M le 7 Jan 2016
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"

Réponse acceptée

Explorer
Explorer le 6 Jan 2016
Modifié(e) : Explorer le 6 Jan 2016
It's because you are using older version of MATLAB. Year Function was introduced first in R2014b version of MATLAB.
  1 commentaire
Alessandro M
Alessandro M le 7 Jan 2016
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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by