Path: news.mathworks.com!not-for-mail
From: "Bill" <john.doe.nospam@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab Compiler and paths
Date: Wed, 4 Mar 2009 16:58:02 +0000 (UTC)
Organization: Draper Laboratory
Lines: 15
Message-ID: <gombuq$hp2$1@fred.mathworks.com>
References: <goekqj$m4m$1@fred.mathworks.com>
Reply-To: "Bill" <john.doe.nospam@mathworks.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 1236185882 18210 172.30.248.37 (4 Mar 2009 16:58:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 4 Mar 2009 16:58:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 895435
Xref: news.mathworks.com comp.soft-sys.matlab:522498


2 Things:

1. Ashish was correct, when I added all of the files that were referenced by the application, it ran correctly. A downside is that this added 16 Mbytes to my application size. This is what I want if I am deploying to a different computer, but not really what I want if those files already exist on my PC (or even the target PC). Oh well, all is OK for now.

2. Emanuele, you wrote the following:

"i have a problem ti run the .exe file. What is the right path to run the .exe file
I have tried with matlabroot\bin\win32\file.exe
Is right??"

Keeping in mind that I am a novice a this, as near as I can tell, the .exe file can be anywhere. In my case, I want it on a network drive, and it seemed to work fine from there for my application.

That being said, I would think there is some sort of "default pathing" that would permit the user to arrange the Matlab application .exe in the same folder as any data files and that those data files would be found on a "relative path" basis.

Bill