how to fix this error in matlab 2013? But it works when I run it in matlab 2015 vers

2 ビュー (過去 30 日間)
della tan
della tan 2018 年 11 月 22 日
回答済み: Steven Lord 2018 年 11 月 22 日
Undefined function 'decyear' for input arguments of type 'double'.
dec_year = decyear([year, month, day, hour, minute, second]);

回答 (1 件)

Steven Lord
Steven Lord 2018 年 11 月 22 日
The decyear function is part of Aerospace Toolbox. My guess is that you don't have this toolbox installed in your installation of release R2013a or R2013b but do have it installed in your installation of release R2015a or R2015b. Check the output of the ver function to test this guess. You would need to install this toolbox into your R2013* installation in order to use this function.

カテゴリ

Help Center および File ExchangeIntroduction 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