Path: news.mathworks.com!not-for-mail
From: "William" <w_king10@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How does the MATLAB Compiler deal with .mat files?
Date: Wed, 29 Jul 2009 00:22:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 8
Message-ID: <h4o4na$qbr$1@fred.mathworks.com>
References: <h23fod$8p2$1@fred.mathworks.com> <h23k1b$7rk$1@fred.mathworks.com> <h4lmjt$4mh$1@fred.mathworks.com> <h4m3vd$jla$1@fred.mathworks.com>
Reply-To: "William" <w_king10@yahoo.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 1248826922 27003 172.30.248.38 (29 Jul 2009 00:22:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 29 Jul 2009 00:22:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 930703
Xref: news.mathworks.com comp.soft-sys.matlab:559151


OK...that makes no sense to me either.  I will have to tell the installer where to put the .mat file.  Correct?  Therefore, when I use the mcc command to create the executable, I should then be able to put the required .mat file somewhere manually without using the installer.  Correct?  Where do I put it?  In which folder?  

I have not found the appropriate location and cannot find documentation in MATLAB for dealing with .mat files in executables.  NSIS, as far as I know, isn't designed to work specifically with MATLAB files.  Therefore, it won't know what to do with the file I am having trouble with.  

I appreciate your help, but pointing me in the direction of random programs without specific instructions on where to put things is not helping me solve my original problem...getting my compiled application to work.  The .mat file in my program is a file that is used every time my program launches and every time it closes.  It holds the configuration values that are saved upon closing and loaded upon launching.  My application looks for that file in a specific place.  However, no matter where I put it, the application doesn't recognize it once compiled.  Is there something I'm missing?

Thanks,
Billy