Editor doesn't run .m file

1 view (last 30 days)
Bruno
Bruno on 1 Nov 2014
Commented: Bruno on 2 Nov 2014
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!

Accepted Answer

Image Analyst
Image Analyst on 1 Nov 2014
Does the status bar say "Busy" or "Waiting for input"?
  1 Comment
Bruno
Bruno on 2 Nov 2014
It says "Busy" Now, I understand why it wasn't "working", it was actually calculating! Thank you!

Sign in to comment.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!