1、在gui里添加箭头

annotation('arrow',x,y) % 建立从(x(1), y(1))到(x(2), y(2))的箭头注释对象。


2、gui中的单选按钮

3、怎么从一个guide界面里面一个按钮打开另外一个guide界面
在按钮回调的函数中,键入所需的界面名称。这两个界面要放在同一个文件夹下。

h=gcf;
step1;%需要的界面
close(h);%关闭原界面
4、重置和退出代码
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)
% 重置清空图片
cla(handles.axes1,'reset');
cla(handles.axes2,'reset');
cla(handles.axes3,'reset');
cla(handles.axes4,'reset');
cla(handles.axes5,'reset');
% 重置清空动态txt的文字
set(hand

最低0.47元/天 解锁文章
2648

被折叠的 条评论
为什么被折叠?



