Path: news.mathworks.com!not-for-mail
From: "Ben " <basburywvu.nospam@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Save with -struct option
Date: Wed, 12 Mar 2008 13:54:02 +0000 (UTC)
Organization: Orbital Sciences Corp
Lines: 21
Message-ID: <fr8n9q$7n2$1@fred.mathworks.com>
References: <fr8hi2$b2m$1@fred.mathworks.com> <fr8j4l$3p7$1@fred.mathworks.com>
Reply-To: "Ben " <basburywvu.nospam@hotmail.com>
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 1205330042 7906 172.30.248.37 (12 Mar 2008 13:54:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 12 Mar 2008 13:54:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 425457
Xref: news.mathworks.com comp.soft-sys.matlab:456791



"Hui Song" <john.doe.nospam@mathworks.com> wrote in message 
> Hi Ben
> TO tell the truth, i rarely use save cause of the 
> inconvenience. Here recommend you to use the new mexload 
> and mexsave created by myself. You do not need to create 
> the struct any more and you can use it either in matlab 
> 2007+ or 6.5.
> Here is the example.
> mexsave(filename, 'w', 'name1', rand(5,1), 'name2', rand
> (5,1), ....);
> Enjoy.
> the link is
> http://rapidshare.com/files/97196537/loadsave.rar.jpg.html
> and pls save it to loadsave.rar.
> It includes mexsave, mexload and mexdelete.

I like the idea of doing it in a Mex file but I it may be
difficult to justify its use due to the software
configuration control system that I am currently working
under.  I will check out those functions but I will probably
have to save them for a different application.