Joshua C. Gilbert wrote:
> Can my program emit noise on startup? For instance:
> < M A T L A B >
> 1984-2002 The MathWorks, Inc.
> 220.127.116.11913a Release 13
> Jun 18 2002
> To get started, type one of these: helpwin, helpdesk, or demo.
> For product information, visit www.mathworks.com.
> I can't figure out how to prevent MATLAB from doing that on startup. But if you
> ignore that my program should run like any other. I could emit an opening
> sequence that signifies that you should listen.
Hmmm. This complicates the referee program. If you aren't able to find a way
around this, it's acceptable, just make note of it in your README. If you can
find a way around it, that would be better.
I did a search and came across:
Which compiles on tyr:
cssa@tyr>setenv C_INCLUDE_PATH /usr/local/matlab5.3/extern/include/
cssa@tyr>setenv LD_LIBRARY_PATH /usr/local/matlab5.3/extern/lib/sol2/
cssa@tyr>gcc -leng matlabShell.c
Copyright 1998 Robert A. Morris.
This is Free Software licensed under the GNU Public License.
If you comment out the call to printf("%s\n", version); and printf(">> "); it
should do what you want.