[TxMt] Matlab bundle

Hans-Jörg Bibiko bibiko at eva.mpg.de
Mon Dec 17 22:42:52 UTC 2007


On 17.12.2007, at 22:41, Don Kalar wrote:

> I looked into this early on in textmate's life, but never found a
> solution that I would call graceful. However, the work recently done
> by Hans connecting to R in textmate may provide some inspiration.
I'm just fine-tuning the R daemon which runs in a pseudo terminal.  
The basic idea works pretty well, and if Matlab – to be honest, my  
last contact with Matlab was about 15 years ago – runs in the  
Terminal then it should be possible (theoretically) to use the same  
approach.
However, my crucial point with R is the synchronisation, meaning  
after sending a task to R how does one know whether R did the job. My  
current approach is very naïve but it works for 98% of all cases; I  
simply look at R's CPU coverage, but this could not be the end,  
because if R by itself starts some shell commands etc...

Thus one can try to adopt that idea using the pty library (in Ruby)  
and run Matlab.
BTW is Matlab downloadable for free? Or a test version? Then I could  
run a dry-run.

--Hans




More information about the textmate mailing list