cant edit a script while another code is running

6 次查看(过去 30 天)
hi
recently i had a problem that idk how to fix
i run a code, the figure window opens, everything fine, but because of my small step size, it takes a while to oprate.
while that code is running and figure window is oprating the prosses, i want to sth else like editing another script ro writing a new one. BUT the program doesnt let me to do that,and when i click somewhere else, it goes on the figure window again, WHY??!!
  2 个评论
Rik
Rik 2021-4-4
It sounds like your function is calling figure somewhere. Without the function you refer to, we can only guess.
Calling figure explicitly is generally only needed once. After that you can use the figure handle.
Walter Roberson
Walter Roberson 2021-4-4
In my experience, if MATLAB is busy executing code, then you can edit a file that you already had open, and files that are in your "Recent" list, but that it can be difficult to open any other files.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

标签

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by