文件名称:matlab的GUI按钮代码-myClock:MATLAB倒计时GUI程序
文件大小:132KB
文件格式:ZIP
更新时间:2024-06-13 01:15:26
系统开源
matlab的GUI按钮代码 DEMO 环境依赖 MATLAB1016a 部署步骤 加入工作目录 运行myClock.m 目录结构描述 关键代码 % --- 方法一的计时启动按钮. function pushbutton1_Callback(hObject, eventdata, handles) % hObject handle to pushbutton1 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % 获取输入值 a=str2num(get(handles.edit1,'string')); b=str2num(get(handles.edit2,'string')); c=str2num(get(handles.edit3,'string')); mytime=[a;b;c] Alltime=mytime(1)*60*60+mytime(2)*60
【文件预览】:
myClock-master
----README.MD(4KB)
----main1.m(780B)
----pic()
--------22.png(54KB)
--------1.png(54KB)
----myClock.m(12KB)
----mycallback2.m(429B)
----main3.m(938B)
----mycallback.m(795B)
----show.m(258B)
----1.txt(208B)
----main2.m(188B)
----myClock.fig(18KB)