There is a year function in Financial Toolbox, but if you're working with date and time data I recommend storing your date and time data as datetime arrays and using the year method for datetime to extract information about the year in which the date and time the datetime represents falls.
missing toolboxes for function year
9 次查看(过去 30 天)
显示 更早的评论
dear friends,
what is my missing toolboxes?
the error is:

0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dates and Time 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!