cant edit a script while another code is running

6 Ansichten (letzte 30 Tage)
Karen Hejazi
Karen Hejazi am 4 Apr. 2021
Kommentiert: Walter Roberson am 4 Apr. 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 Kommentare
Rik
Rik am 4 Apr. 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 am 4 Apr. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by