MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]getframe运行过程中问题 (https://www.labfans.com/bbs/showthread.php?t=4523)

majian_aero 2008-09-19 21:30

[求助]getframe运行过程中问题
 
在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.

请教如何解决?

blackback 2008-09-23 10:58

回复: [求助]getframe运行过程中问题
 
if strcmp(exit_button,'No')
return;
end
delete(handles.figure1);

majian_aero 2008-09-23 18:06

回复: [求助]getframe运行过程中问题
 
文件还是会损坏~~

blackback 2008-09-23 20:49

回复: [求助]getframe运行过程中问题
 
图形文件怎么损坏法?

majian_aero 2008-09-25 17:54

回复: [求助]getframe运行过程中问题
 
??? Error using ==> capturescreen
Figure destroyed during getframe.

blackback 2008-09-26 10:01

回复: [求助]getframe运行过程中问题
 
可能和你版本有关 我的是7.4


所有时间均为北京时间。现在的时间是 11:19

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.