Matlab GUI froze when another matlab app or script run at the same time

Viewed 22

I am working on an existing GUI, but some times when a specific script or another gui is running at the same time the gui freezes and all commands on matlab won't work except close all force.

When this happens the gui error message says that there is an abnormal amount of windows open i thought that it mistook the other app or script as it's own program as there is a part that makes it so that it can only be opened once :

if ~isequal(ishandle(kg4_HndlFig),1) && ~strcmp(action,'') error(kverranorm(19)) %la figure doit exister en un unique exemplaire end

so i tried to add the amount of windows it could use at the same time and even remove it. But it still freezes when i run the other scripts or app just this time it will show another error.

0 Answers
Related