cant edit a script while another code is running

6 visualizaciones (últimos 30 días)
Karen Hejazi
Karen Hejazi el 4 de Abr. de 2021
Comentada: Walter Roberson el 4 de Abr. de 2021
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 comentarios
Rik
Rik el 4 de Abr. de 2021
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 el 4 de Abr. de 2021
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by