![]() |
#2
leki2007-04-25 12:31
|
![]() |
#2
leki2007-04-25 12:31
能否把你源码帖上来,或者发给我,我可以帮忙试一下
|
![]() |
#3
yanliliu842007-04-25 16:49
这是第一个界面的源代码 % Edit the above text to modify the response to help xinhaodepinpufenxi % Last Modified by GUIDE v2.5 14-Apr-2007 12:30:17 % Begin initialization code - DO NOT EDIT if nargout
% Choose default command line output for xinhaodepinpufenxi % Update handles structure % UIWAIT makes xinhaodepinpufenxi wait for user response (see UIRESUME)
% Get default command line output from handles structure
% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
% Hint: popupmenu controls usually have a white background on Windows. |
![]() |
#4
yanliliu842007-04-25 16:54
第二个界面的源程序: % Edit the above text to modify the response to help lianxuxinhao % Last Modified by GUIDE v2.5 14-Apr-2007 12:52:33 % Begin initialization code - DO NOT EDIT if nargout
% Choose default command line output for lianxuxinhao % Update handles structure % UIWAIT makes lianxuxinhao wait for user response (see UIRESUME)
% Get default command line output from handles structure function edit1_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit1 as text
% Hint: edit controls usually have a white background on Windows. function edit2_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit2 as text
% Hint: edit controls usually have a white background on Windows. function edit3_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit3 as text
% Hint: edit controls usually have a white background on Windows. function edit4_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit4 as text
% Hint: edit controls usually have a white background on Windows. function edit5_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit5 as text
% Hint: edit controls usually have a white background on Windows. function edit6_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit6 as text
% Hint: edit controls usually have a white background on Windows. function edit7_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit7 as text
% Hint: edit controls usually have a white background on Windows. function edit8_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit8 as text
% Hint: edit controls usually have a white background on Windows. function edit9_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit9 as text
% Hint: edit controls usually have a white background on Windows.
|
![]() |
#5
yanliliu842007-04-25 16:56
这是第三个界面代码: % Edit the above text to modify the response to help lisanxulie % Last Modified by GUIDE v2.5 14-Apr-2007 13:09:48 % Begin initialization code - DO NOT EDIT if nargout
% Choose default command line output for lisanxulie % Update handles structure % UIWAIT makes lisanxulie wait for user response (see UIRESUME)
% Get default command line output from handles structure function edit1_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit1 as text
% Hint: edit controls usually have a white background on Windows. function edit2_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit2 as text
% Hint: edit controls usually have a white background on Windows. |
![]() |
#6
yanliliu842007-04-25 17:05
这是第四个界面代码: % Edit the above text to modify the response to help lisanzhengxian % Last Modified by GUIDE v2.5 14-Apr-2007 13:05:50 % Begin initialization code - DO NOT EDIT if nargout
% Choose default command line output for lisanzhengxian % Update handles structure % UIWAIT makes lisanzhengxian wait for user response (see UIRESUME)
% Get default command line output from handles structure function edit2_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit2 as text
% Hint: edit controls usually have a white background on Windows. function edit3_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit3 as text
% Hint: edit controls usually have a white background on Windows. function edit4_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit4 as text
% Hint: edit controls usually have a white background on Windows. function edit5_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit5 as text
% Hint: edit controls usually have a white background on Windows. function edit6_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit6 as text
% Hint: edit controls usually have a white background on Windows. function edit7_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit7 as text
% Hint: edit controls usually have a white background on Windows. function edit8_Callback(hObject, eventdata, handles) % Hints: get(hObject,'String') returns contents of edit8 as text
% Hint: edit controls usually have a white background on Windows. |
![]() |
#7
leki2007-04-25 17:43
抱歉,这样子把代码复制得出的M文件我执行有很多错误,弄不出来的,若是能把原来的文件(fig与M)压缩在一起传上来,或许
还行,顺便说明一下,我没有用过弹出框popumune,只是使用过按钮,所以我也没有很大把握 |
![]() |
#8
yanliliu842007-04-25 18:13
不要紧,谢谢你帮我试一下
只有本站会员才能查看附件,请 登录 附件里是fig与M的文件 |
![]() |
#9
leki2007-04-25 18:33
好的,已经下了,不管能否弄好,最迟明天早上给你答复,一会还有事
|
![]() |
#10
janicewei2007-04-25 19:03
回复:(leki)抱歉,这样子把代码复制得出的M文件我执...
你说你是用按钮来调用其它的界面,那你能否帮我弄下 只有本站会员才能查看附件,请 登录 |
![]() |
#12
yanliliu842007-04-26 08:49
是我想要的效果,谢谢你了
|
![]() |
#13
yanliliu842007-04-26 09:25
请教leki:
不好意思还想麻烦你一下,我点连续信号和离散正弦信号都能出现我想要的界面,但为什么点离散序列就出不来呢?你除了在popumune1_callback下写你些程序没在别的地方该过吧,非常感谢你了 |
![]() |
#15
leki2007-04-26 09:51
除了在popumune1_callback下把你原来的程序删除重写外,其他的都没有改动的
|
![]() |
#16
yanliliu842007-04-26 10:01
我刚试了下,好了,非常谢谢你了
|
![]() |
#17
leki2007-04-26 10:10
不用客气
|