Hi,

The reason is that the Semantic part tries to find the actual .m files so it 
can build up its symbol tables.

In theory, you could use TRAMP and rig up a directory name by hand (ie - not 
using the code in the defvar for line 55), such as:

(setq semantic-matlab-root-directory 
"/ssh:william@remotemachine/usr/local/MATLAB/whatever")
(require 'matlab)
(require 'semantic-matlab)

and you might be good to go.   I've never tried it though, so you will probably 
need to do some tweaks in semantic-matlab.el to round off the corners.

If you figure out how to do this, and/or if semantic-matlab.el needs patching 
that you create, let me know and I'll apply your patches / doc updates.

Good Luck
Eric

From: William May [mailto:williamc...@live.com]
Sent: Sunday, August 31, 2014 2:36 PM
To: matlab-emacs-discuss@lists.sourceforge.net
Subject: [Matlab-emacs-discuss] Auto-completion while using Matlab remotely

Is it possible to get auto-completion while connected to matlab via SSH?

I keep getting the message "semantic-matlab: Could not find MATLAB executable 
in path." when editing .m files. I tried editing the section in 
semantic-matlab.el where this message originates,

[line 55] (defvar semantic-matlab-root-directory ...

but I'm new to lisp and I'm not getting anywhere with this. Any ideas?
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

Reply via email to