Re: Running M-File from Command Line?
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.
Can't answer this specific question, but if your m file is
appropriately constrained, then you can certainly run it from
octave at the command line. I frequently use it from make files
in exactly this way, for building dependent coefficient tables,
and the like.
(Actually, I'm moving towards using Python for this purpose,
because it's more readily available, thanks to simpler licence
conditions. It does have its own limitations, though, so the move
is gradual...)
--
Andrew
|