0
我试图用TimerFcn
使用gui操作创建七段显示。我尝试了以下逻辑来重复循环单元段。但MATLAB输出以下错误:MATLAB:使用定时器的GUI操作不会循环
Warning: You are deleting one or more running timer objects. MATLAB has automatically stopped them before deletion.
而不删除计时器它只是无响应。
while(true)
y=timer('TimerFcn',@(~,~)set(handles.digit,'Visible','off','StartDelay',3);
start(y)
delete(y);
end