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!

 采纳的回答

Image Analyst
Image Analyst 2014-11-1

0 个投票

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

1 个评论

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

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by