Path: news.mathworks.com!newsfeed-00.mathworks.com!NNTP.WPI.EDU!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!not-for-mail
From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Newsgroups: comp.soft-sys.matlab
Subject: Re: Saving file.mat
Date: Mon, 26 May 2008 00:03:34 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 15
Message-ID: <g1cuom$b7a$1@canopus.cc.umanitoba.ca>
References: <g1cqvm$o89$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1211760214 11498 192.70.172.160 (26 May 2008 00:03:34 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Mon, 26 May 2008 00:03:34 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:470303



In article <g1cqvm$o89$1@fred.mathworks.com>,
Francesco  <fsarnari@maths.leeds.ac.uk> wrote:

>I want to save the variables V0, V1, and V2 into a .mat 
>file (data_...)

>filename = num2str(j,'data_%d.mat');

>save(['E:\ODE' filename, 'V0', 'V1', 'V2'])

save(['E:\ODE\' filename], 'V0', 'V1', 'V2')
-- 
  "Every intellectual product must be judged from the point of view
  of the age and the people in which it was produced."
                                              -- Walter Horatio Pater