How to disable error messages when typing CTRL+C?

Dear all, there is a matlab command for suppressing any error message when typing CTRL+C? Really, try/catch doesn't solve the problem. I have some p-code and I don't like that Matlab returns messages like this:
"Operation terminated by user during yyy (line XXX)"
Thanks for any suggestion

回答(1 个)

Jan
Jan 2017-7-25
编辑:Jan 2017-7-25
What happens if you call the P-Code through a C-Mex function an mexCallMATLABWithTrap?
But perhaps changing the view on the problem is useful also: Is it really an advantage to hide this message? Are you afraid, that it reveals too many details of the "hidden" P-code? Then do not overestimate the obfuscation level of P-coding.

类别

在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息

标签

提问:

2016-1-28

编辑:

Jan
2017-7-25

Community Treasure Hunt

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

Start Hunting!

Translated by