Path: news.mathworks.com!not-for-mail
From: "ching l" <chinglnc@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: write to different directory
Date: Sat, 19 Jul 2008 22:55:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <g5trc8$lv0$1@fred.mathworks.com>
Reply-To: "ching l" <chinglnc@hotmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1216508104 22496 172.30.248.38 (19 Jul 2008 22:55:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 19 Jul 2008 22:55:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1438759
Xref: news.mathworks.com comp.soft-sys.matlab:480498



how to write the file into different directory? 

the 'filename' closed before the end of the actual file name, 
which is before '%d_f'


csvwrite('C:\(num2str(ceil(handles.value),'%d_f')), []);

thanks.