Path: news.mathworks.com!not-for-mail
From: "Brian " <ceo21mil@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Using Compiled XLS File
Date: Mon, 27 Oct 2008 16:30:03 +0000 (UTC)
Organization: University of Florida
Lines: 20
Message-ID: <ge4qab$mt2$1@fred.mathworks.com>
References: <ge37ma$7rk$1@fred.mathworks.com>
Reply-To: "Brian " <ceo21mil@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 1225125003 23458 172.30.248.37 (27 Oct 2008 16:30:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 27 Oct 2008 16:30:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 148739
Xref: news.mathworks.com comp.soft-sys.matlab:497471


Thank you for the responses.

Below is the relevant portion of my code:

% Excel Summary File
directoryName = ['Lot ', lotSummary.LotID, '\'];
mkdir(directoryName);
fileName = ['Lot ', lotSummary.LotID, ' Summary.xls'];
copyfile('WTASummary.xls', [directoryName, fileName]);
cd(directoryName);

And the error message from the compiled stand alone application:

??? Error using ==> copyfile
No matching files were found.

MATLAB:COPYFILE:FileDoesNotExist

Best regards,
Brian