Will m files work that were made in matlab R2018a work in matlab R2017b?

1 回表示 (過去 30 日間)
JoshT_student
JoshT_student 2019 年 5 月 15 日
コメント済み: Walter Roberson 2019 年 5 月 16 日
Hello.
I want to go from matlab R2018a to R2017b just so that all my programs will be in 2017, so they can be easily integrated.
My concern is: Will my m files work that were made in matlab R2018a work in matlab R2017b?
They are not very complicated scripts. For example, they include ode45, plot, quad, fprintf, fopen, fclose, and array and matrix operations
Thank you for the help.

採用された回答

Rik
Rik 2019 年 5 月 15 日
You can check the release notes to see if you're using functions that were introduced in R2018a, but I suspect from your description that everything should compatible.
Things to watch out for in terms of compatibility are .fig files (avoid if possible), Simulink models, and complex interactions with graphical elements. The wider the gap in time between the releases you want to be compatible with, the more important these considerations become. Forward compatibility is usually a lot better than backward compatibility (with big jumps in R13 to R14 and R2014a to R2014b).
  1 件のコメント
Walter Roberson
Walter Roberson 2019 年 5 月 16 日
Sometimes the problem is not that the function was just introduced in later release but rather that a new option has been added. New options do not always make it into the release notes.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDesktop についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by