From: "Lexing Xie" <lexing@columbia.edu>
Path: news.mathworks.com!newsfeed.mathworks.com!webx
Newsgroups: comp.soft-sys.matlab
Subject: Also Save Sessions for the Matlab Editor ?
Message-ID: <eece172.-1@webx.raydaftYaTP>
Date: Wed, 14 Jan 2004 15:44:04 -0500
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:186583



Hello,

Just wondering if there are ways of saving different sessions for the
Matlab Editor, in addition to what STARTUP.M can do, such as:

[project 1]
wd: /homes/usr_1/proj1/
path: ~/tool_1a/, ~/tool_1b/,
files_in_the_editor: a1.m, a2.m, a3.m ...

[project 2]
wd: /homes/usr_1/proj2/
path: ~/tool_2y/, ~/tool_2z/,
files_in_the_editor: B1.m, B2.m, B3.m ...

The wd and path thing are easy with startup.m, but can we tell the
editor to load a different set of files for different projects? seems
these info are now contained in ~/.matlab/MATLAB.ini but there isn't
a way to customize it?

This will be easy to do if there's a command for *closing* a specific
file in the editor, and then we'll pair it up with the "edit" command
to load different proj profiles. Is there?

Thanks in advance!
Lexing