| Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
|
|
#1 |
|
初级会员
注册日期: 2008-09-02
年龄: 40
帖子: 5
声望力: 0 ![]() |
在gui中,使用getframe函数,现在此函数运行中使用exit按键
exit_button = questdlg('Exit now?','Exit program','Yes','No','Yes'); switch exit_button case 'Yes' closereq; case 'No' return; end 当选择yes后,推出程序,但出现图形文件损坏的问题 如 ??? Error using ==> capturescreen Figure destroyed during getframe. 请教如何解决? |
|
|
|
|
|
#2 |
|
初级会员
注册日期: 2008-09-17
年龄: 41
帖子: 19
声望力: 18 ![]() |
if strcmp(exit_button,'No')
return; end delete(handles.figure1); |
|
|
|
|
|
#3 |
|
初级会员
注册日期: 2008-09-02
年龄: 40
帖子: 5
声望力: 0 ![]() |
文件还是会损坏~~
|
|
|
|
|
|
#4 |
|
初级会员
注册日期: 2008-09-17
年龄: 41
帖子: 19
声望力: 18 ![]() |
图形文件怎么损坏法?
|
|
|
|
|
|
#5 |
|
初级会员
注册日期: 2008-09-02
年龄: 40
帖子: 5
声望力: 0 ![]() |
??? Error using ==> capturescreen
Figure destroyed during getframe. |
|
|
|
|
|
#6 |
|
初级会员
注册日期: 2008-09-17
年龄: 41
帖子: 19
声望力: 18 ![]() |
可能和你版本有关 我的是7.4
|
|
|
|