Can I run .m files written using a recent version of MATLAB in an older version of MATLAB?

조회 수: 7 (최근 30일)
I have MATLAB 7.1 & 7.3 only. The files given in this site use more recent versions of MATLAB (7.11, 7.10). Can I use version 7.1 or 7.3 to execute the code written in the newer versions?

채택된 답변

Fangjun Jiang
Fangjun Jiang 2011년 6월 29일
If the code is .m source code, I would think you should be able to run in earlier version of MATLAB. But of course, if the code uses some functions or features that are not available in earlier version of MATLAB, then you will have problem. Just try it to see if it gives you any errors.

추가 답변 (1개)

Harsha Vardhan Rao  Avunoori
Harsha Vardhan Rao Avunoori 2011년 6월 30일
@Sri Priya As Fangjun replied you can use any older .m file in a newer version of MATLAB but make sure that few functions like mmreader() are named differently in the newer MATLAB version.

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by