Command window help
古いコメントを表示
When ever I run my script in matlab, after it is done, the >> in the command window won't show up after, and also I am unable to close MATLAB without ending the task. Does anyone know how I can avoid this happening?
回答 (2 件)
Walter Roberson
2011 年 3 月 8 日
0 投票
Is Matlab continuing to say that it is Busy ?
You have tried control-c to interrupt ?
Do you have any uiwait() or pause() calls in the script, or any loops?
We might need to see the script to give a better answer.
Andreas Goser
2011 年 3 月 8 日
Your WHILE loop just stops when T is EXACTLY I*(1.05^Y). If it is not exact the same (more than 2.2204e-016 makes it fail), the loop will never stop.
Try
while T > I*(1.05^Y);
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!