Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Linux users ... opening M file
Date: Thu, 13 Nov 2008 02:17:01 +0000 (UTC)
Organization: University of Memphis
Lines: 5
Message-ID: <gfg2mt$eif$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1226542621 14927 172.30.248.37 (13 Nov 2008 02:17:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 13 Nov 2008 02:17:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 233092
Xref: news.mathworks.com comp.soft-sys.matlab:500536


I'm moving over to Linux from Windows and find some features were automatic in Windows that I would like to set up in Linux.

Specifically, when I right click on a M file, I would like to open it with the Matlab editor and not the default editor (gedit).  When I use the default file browser and right click on a file, I can see the option for 'open with other application' which then gives another option of 'use a custom command' but at this point what exactly do I put in for the command.  I tried a direct link to the binary executable ( .../bin/matlab) but this didn't work.   Can any Linux (Ubuntu) experts provide some advice.

Thanks