Path: news.mathworks.com!not-for-mail
From: "Barry Williams" <barry.r.williamsnospam@saic.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Exporting to Exel
Date: Tue, 30 Oct 2012 19:16:08 +0000 (UTC)
Organization: SAIC
Lines: 11
Message-ID: <k6p91o$k5b$1@newscl01ah.mathworks.com>
References: <k6lkck$m5j$1@newscl01ah.mathworks.com>
Reply-To: "Barry Williams" <barry.r.williamsnospam@saic.com>
NNTP-Posting-Host: www-04-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1351624568 20651 172.30.248.35 (30 Oct 2012 19:16:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 30 Oct 2012 19:16:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 804417
Xref: news.mathworks.com comp.soft-sys.matlab:781690

"Inbanathan Govender" <govender.inbanathan@gmail.com> wrote in message <k6lkck$m5j$1@newscl01ah.mathworks.com>...
> Hi,
> 
> I would like to write to an exel file, however when I try to do this with the exel file open, I get the following error: The file 'is not writable.  It may be
> locked by another process'. How do I go around this without having to close the Exel file
> 
> Regards,
> Inbanathan

Are you using xlswrite? I don't know that it's possible to write to the file while it's open because the read only bit in the file is set while it's open in Excel.
Barry