cant edit a script while another code is running

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 Comments

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.
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.

Sign in to comment.

Answers (0)

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Products

Release

R2020a

Asked:

on 4 Apr 2021

Commented:

on 4 Apr 2021

Community Treasure Hunt

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

Start Hunting!