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
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
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 Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!