Borrar filtros
Borrar filtros

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

6 visualizaciones (últimos 30 días)
fariba amini
fariba amini el 1 de Abr. de 2016
Comentada: Elias Gule el 1 de Abr. de 2016
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 comentarios
Adam
Adam el 1 de Abr. de 2016
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 el 1 de Abr. de 2016
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.

Iniciar sesión para comentar.

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 1 de Abr. de 2016
Check the error message, and replace the functions that are not available in the newest version

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by