missing toolboxes for function year
显示 更早的评论
回答(1 个)
Steven Lord
2019-11-15
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Dates and Time 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
