[OS X Emacs] matlab -nodesktop in Aquamacs

Stefan Vollmar vollmar at nf.mpg.de
Wed Jul 6 01:49:20 EDT 2011


Dear Claire,

I believe this is no Aquamacs specific error, try:
 
(setq matlab-shell-command-switches '("-nodesktop"))

Warm regards,
 Stefan


On 06.07.2011, at 05:45, Claire wrote:

> Hi 
> 
> I'm running Aquamacs 2.2 on Mac OSX 10.6.8 and I'd like to be
> able to run Matlab within Aquamacs. Within my bash shell I 
> have aliased matlab to "matlab -nodesktop".  However, when I 
> type 
> 
> M-x matlab-shell
> 
> from within Aquamacs, matlab opens in the gui, i.e without the 
> 'nodesktop' flag. I tried adding the line: 
> 
> (setq matlab-shell-command-switches "-nodesktop")
> 
> to my Preferences.el file, but Aquamacs returns the error:
> 
> wrong type argument: listp, "-nodesktop".
> 
> Does anyone know what I'm doing wrong, and how to correct this?
> 
> Any help much appreciated.
> 
> Claire
> 
> 
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx

-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar at nf.mpg.de   http://www.nf.mpg.de






-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4409 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20110706/bdb2145b/attachment.p7s>


More information about the MacOSX-Emacs mailing list