Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How does the MATLAB Compiler deal with .mat files?
Date: Tue, 28 Jul 2009 05:57:01 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 8
Message-ID: <h4m3vd$jla$1@fred.mathworks.com>
References: <h23fod$8p2$1@fred.mathworks.com> <h23k1b$7rk$1@fred.mathworks.com> <h4lmjt$4mh$1@fred.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
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 1248760621 20138 172.30.248.37 (28 Jul 2009 05:57:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 28 Jul 2009 05:57:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:558828


"William" <w_king10@yahoo.com> wrote in message <h4lmjt$4mh$1@fred.mathworks.com>...
> I guess I don't really understand how to leave it seperately.  The MAT file is used by the program everytime the application is launched.  It contains parameters that the program needs.  I am looking to create an executable with everything required, so I can send the whole thing to people who will use the program.  Keeping the MAT files separate, will just be confusing for the end user.  
> 
> How can I integrate needed MAT files in with an exe when it is created using the Matlab compiler.  Has anyone been able to do this yet?

Pack your files with an application installer (such as NSIS http://nsis.sourceforge.net/Main_Page). This is not the job of the compiler.

Bruno