更新时间:2023-12-05 17:03:10
在 'getframe' 之前的 'drawnow' 可以解决问题.
'drawnow' preceding 'getframe' does the trick.
循环中的 MATLAB getframe 冲突以创建动画 gif