Update:
(defcustom matlab-shell-command-switches '("-nodesktop -glnx86")
> "*Command line parameters run with `matlab-shell-command'.
> Command switches are a list of strings. Each entry is one switch."
> :group 'matlab-shell
> :type '(list :tag "Switch: "))
>
Is currently in my matlab.el file, and if I put the -nodesktop flag first,
Matlab will not run because the -glnx86 flag doesn't get used for some
reason. If I put the -glnx86 flag first, Matlab will run, but it runs in
the desktop mode which doesn't work with the emacs matlab-shell mode. I
think this is a a syntax error. Does anyone know lisp well enough to help?
Thanks,
Chad Baker
On Fri, Aug 27, 2010 at 1:51 PM, Chad Baker <cal...@ma...>wrote:
> All,
>
> I'm attempting to use GNU Emacs 23 as my Matlab editor, but I find it is
> unable to launch matlab (using C-c C-s) because of the following:
>
>> matlab: No MATLAB bin directory for this machine architecture.
>>
>> ARCH = glnxa64
>>
>>
>> M-Shell exited abnormally with code 1
>>
>
> I have no problem launching matlab because I have the command 'matlab'
> aliased as "matlab -glnx86 -desktop", but this is apparently not the command
> that emacs is using when it attempts to run my code.
>
> Do you know how to fix this?
>
> Thanks,
>
> Chad Baker
> PhD Student
> Thermal Fluids Systems
> Mechanical Engineering
> University of Texas at Austin
>
>
|