[TxMt] Re: textmate Info Page

Allan Odgaard throw-away-1 at macromates.com
Sun Nov 5 23:40:32 UTC 2006


On 4. Nov 2006, at 17:36, Brian wrote:

>>> I don't know if this is possible with matlab, but you might be  
>>> able to
>>> do something like:
>>>
>>> % mkfifo /tmp/matlab_in
>>> % matlab < /tmp/matlab_in
>> Excellent suggestion - writing to the pipe via echo with the `-n'  
>> flag
>> keeps matlab from exiting after each command.
> Anyone willing to walk me through this? Do I need to add a command  
> to the Matlab
> bundle?

It’s not exactly simple -- I attached a ruby script I had lying  
around which starts ‘sh’ and accepts commands written to /tmp/ 
testpipe -- but it is a single direction connection, so the result  
stays with the master process.

> I'm looking to keep a Matlab session running in a terminal, and be  
> able to send
> snippets of code to this session via TextMate.

It sounds like this is a job for TerminalMate.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: shell.rb
Type: text/x-ruby-script
Size: 612 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061106/f182d258/attachment.rb>
-------------- next part --------------



More information about the textmate mailing list