Matlab goes to infinite loop after closing figure window
1 次查看(过去 30 天)
显示 更早的评论
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..
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Object Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!