Avoid/Block a msgBox?

6 次查看(过去 30 天)
JuanesA89
JuanesA89 2014-1-9
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
  2 个评论
JuanesA89
JuanesA89 2014-1-9
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Structures 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by