Disabling runtime warnings for standalone executables



Hello,

I'm using Matlab R14SP3 to compile a standalone executable on Linux.
The executable is to be run on a server, called by other software
processes. It is supposed to run, produce some output files, then
terminate and return some output text, via the disp command, which is
parsed by the controlling process.

Currently, when running the executable I get a set of warnings, e.g.:

%--------------
Warning: Unable to open display , MATLAB is starting without a
display.
You will not be able to display graphics on the screen.
Warning:
MATLAB is starting without a display, using internal event queue.
You will not be able to display graphics on the screen.

Warning: No window system found. Java option 'MWT' ignored
%--------------

I have searched the documentation but can find no way of disabling
these runtime warnings. Does anyone have any suggestions? Of course,
if I had control over the controlling processes then maybe I could
adapt them to ignore anything following "Warning" keywords, or add a
specific keyword to denote the actual output. But I don't, and that's
hardly satisfactory anyway.

The same applies to the "extracting ctf" message - that's not such a
biggie, though, since it only appears the first time the execution is
run.

Any ideas? Thanks.

Graham
.



Relevant Pages