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 Comment

Did you ever find a solution to this question? I am very interested.

Sign in to comment.

Answers (1)

Jan
Jan on 25 Jul 2017
Edited: Jan on 25 Jul 2017
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.

Categories

Find more on Programming in Help Center and File Exchange

Tags

Asked:

on 28 Jan 2016

Edited:

Jan
on 25 Jul 2017

Community Treasure Hunt

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

Start Hunting!