Hi, I'm using a .p file in my project and it displays an annoying warning in a msgbox and I need to block it or catch it?
Does anyone know how to do it?
Thanks

답변 (1개)

Sean de Wolski
Sean de Wolski 2014년 1월 9일

0 개 추천

close(gcf)
?

댓글 수: 2

Hello, thanks for your help. Actually, I can't close like that because the .p file waits for me to hit ACCEPT before continue and exit the function.
Maybe my problem its not possible to solve. I was hoping something like:
try
run_p_file
catch
end
Sean de Wolski
Sean de Wolski 2014년 1월 9일
So they have a uiwait() around the message box that forces it to hold.
I don't know of any way around this other than contacting the author and asking them for a new version.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Structures에 대해 자세히 알아보기

질문:

2014년 1월 9일

댓글:

2014년 1월 9일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by