Matlab goes to infinite loop after closing figure window
1 view (last 30 days)
Does anyone know why this occurs "In closereq at 18 Warning: Too many objects created while deleting axes children; removing DelectFcn of all descendants to prevent infinite loop"
I have created a surface plot using the following code, after closing the surface figure window Matlab goes to infinite loop displaying the above message.
z = zeros(size(x,2),size(y,2));
ind = sub2ind(size(z),x,y);
any idea on how to avoid this..