Matlab goes to infinite loop after closing figure window

1 view (last 30 days)
hi,
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.
x= x(2:end)';
y=y(2:end)';
z = zeros(size(x,2),size(y,2));
ind = sub2ind(size(z),x,y);
z(ind)=1;
figure
surface(x,y,z);
view(3)
any idea on how to avoid this..

Answers (1)

Francisco Andres Ortiz
Francisco Andres Ortiz on 25 Jul 2017
I have the same problem! my version is 2014a / 64Bits

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!