Editor doesn't run .m file

I'm using Matlab r2008b. I can open my two .m files with the editor (the main program and the function), but when I click on RUN, nothing happens (However, it was working last week). The command window stays empty, no error message appears. After that, in the command window, I write for example :
a=2
clc
close all
clear all
Still nothing happens! The command window stays with the text. I have to close everything for Matlab to work again. Then, when I run other .m files, it works. I'm the right directory. The .m files have simple names.
Please help!

 Respuesta aceptada

Image Analyst
Image Analyst el 1 de Nov. de 2014

0 votos

Does the status bar say "Busy" or "Waiting for input"?

1 comentario

Bruno
Bruno el 2 de Nov. de 2014
It says "Busy" Now, I understand why it wasn't "working", it was actually calculating! Thank you!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Environment and Settings en Centro de ayuda y File Exchange.

Preguntada:

el 1 de Nov. de 2014

Comentada:

el 2 de Nov. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by