필터 지우기
필터 지우기

how can I run an old m-file in new version of MATLAB?

조회 수: 6 (최근 30일)
fariba amini
fariba amini 2016년 4월 1일
댓글: Elias Gule 2016년 4월 1일
I have a m-file which is written in 2006.it runs in MATLAB2006 correctly.but it dose not run in MATLAB2015 .is there any way to run it in MATLAB2015?
  댓글 수: 2
Adam
Adam 2016년 4월 1일
Depends entirely for what reason it doesn't run. 2006 is certainly very old, but there is no one specific reason I am aware of why an old script wouldn't run in the latest version. Some functions do get removed over time though, usually after a period of warning in the help to use an alternative, but in 10 years quite a few of these will have lapsed and been removed so one of these may be the source of your problem.
You need to give more detail as to "does not run" though. Is there an error message?
Elias Gule
Elias Gule 2016년 4월 1일
What does "does not run" mean? Is it giving an error, is it causing Matlab to crash, or is it just not doing anything?
If it's not doing anything: 1. try to display any text on the command window; At the top of your m-file type "disp(['Running ' mfilename])" without the double quotes. This should display the name of your m-file in the command window. If this doesn't work then try re-installing Matlab.

댓글을 달려면 로그인하십시오.

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2016년 4월 1일
Check the error message, and replace the functions that are not available in the newest version

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by