From: Jeffrey Scott on
If anyone ever figured anything out with this I would love to know.
From: Walter Roberson on
Jeffrey Scott wrote:
> If anyone ever figured anything out with this I would love to know.

You will have to clarify what exactly you mean by "this". The thread you were
following up on showed exact commands to use if you just want to run a single
..m file and then quit. If you want to run a stream of matlab commands and keep
the engine open between commands, then there are other interfaces available,
e.g., from C or C++, to submit commands to a matlab engine; or in unix-type
systems, popen() of a matlab process into a pipe can work very well.
From: Jeffrey Scott on
Walter Roberson <roberson(a)hushmail.com> wrote in message <hra3b5$kgd$1(a)canopus.cc.umanitoba.ca>...
> Jeffrey Scott wrote:
> > If anyone ever figured anything out with this I would love to know.
>
> You will have to clarify what exactly you mean by "this". The thread you were
> following up on showed exact commands to use if you just want to run a single
> .m file and then quit. If you want to run a stream of matlab commands and keep
> the engine open between commands, then there are other interfaces available,
> e.g., from C or C++, to submit commands to a matlab engine; or in unix-type
> systems, popen() of a matlab process into a pipe can work very well.

Sorry about the lack of clarity.

> If you want to run a stream of matlab commands and keep
> the engine open between commands, then there are other interfaces available,
> e.g., from C or C++, to submit commands to a matlab engine; or in unix-type
> systems, popen() of a matlab process into a pipe can work very well.

^This is what I meant. I switched to using TextMate as my editor and the only thing I miss about using the Matlab editor is being able to just hit F5 and run my code. If I can just use a terminal command to execute my m-files in a single Matlab session I could just create a key command in TextMate and run the file easily. I'll check out your suggestions. Thanks.
 | 
Pages: 1
Prev: Minimum value in 3d matrix
Next: Error Dialog