What does ''Busy'' signify ?

Now, Here is a long code which i am directly pasting it into command window and its taking a lot of time to show the output. It is showing "Busy" on the left bottom corner. What does it mean ? Is there any problem or error in the code ? Will i get my output if i wait ?

回答(3 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-11-20
编辑:Azzi Abdelmalek 2013-11-20

0 个投票

Busy means the computer is busy executing your code, which takes a certain time to finish Will you get the result if you wait? not sure, that depends on what your code is doing
E. Bisson
E. Bisson 2013-11-20

0 个投票

If you are executing an infinite loop it will take forever. Try to execute your code in successive fragments in order to figure out which part is performing so much computation.
Noor elhamed
Noor elhamed 2017-5-3
编辑:Walter Roberson 2017-5-3
for example, this was my code:
for j=1:10
x(j)=5*j;
end
why does it take a long time? it's so simple.

2 个评论

Please open a new thread for a new question. Then explain any details: what exactly is "a long time"?
Pre-allocate the output variable
x = zeros(1,10);

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 App Building 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by