Stan Pawlukiewicz <spam@spam.mitre.org> writes:
> Randy Yates wrote:
> > Is there a way to invoke Matlab to run a single m-file?
> > The purpose is to be able to "build" matlab output files
> > from a make file.
>
>
> matlab -r matlab_cmd
>
>
> I haven't done this since version 3.5 or so, so you might need to play
> with it.
>
>
> matlab -help does work for release 14 running in linux.
Thanks Stan. The following did it:
matlab -r mymatlabfunction -nodesktop -nojvm -nosplash <exitcmd.txt
where "exitcmd.txt" is:
exit
It's MUCH faster getting in and out, too.
--
Randy Yates
Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
randy.yates@sonyericsson.com, 919-472-1124