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!

 Risposta accettata

Image Analyst
Image Analyst il 1 Nov 2014

0 voti

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

1 Commento

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Environment and Settings in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by