From: Steven_Lord on


"Luna Moon" <lunamoonmoon(a)gmail.com> wrote in message
news:eeff79a1-0c8c-4d22-8611-f6c8c7ef63c2(a)o12g2000vbc.googlegroups.com...
> On Aug 4, 10:12 am, ImageAnalyst <imageanal...(a)mailinator.com> wrote:
>> It does find all the dependent m-files.
>> What error messages are you getting, if any?
>> What behavior are you experiencing?
>> Have you searched the newsgroup for compiler problems? Once a few
>> months ago I gave a fairly comprehensive list of things to look for
>> and check out (running dependency walker, etc.)
>
> Oh it doesn't auto-find all the dependent files/scripts?

It attempts to do so, but if you're using the approaches described in the
webpage I linked in my previous response in this thread, the automatic
dependency checker may not be able to determine everything that should be
included. For example, if you are using EVAL or FEVAL to invoke a function
or script, the dependency checker may not be able to detect that it needs to
include those functions or scripts.

> Then maybe I should add all the files/subfolders, etc.
>
> And I don't have a main-function, I only have a main script, is that
> okay?

I _believe_ that MATLAB Compiler requires the main routine that you run to
be a function file rather than a script file. I'm fairly certain that
restriction was in place in earlier versions of MATLAB Compiler; I don't
know if that restriction has been removed.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

From: ImageAnalyst on
Perhaps you'd be interested in this upcoming webinar on it:

Join a MathWorks webinar:
Application Deployment with MATLAB
19 Aug 2010

Register for 9:00 AM EDT
Register for 2:00 PM EDT
In this webinar you will learn how to deploy MATLAB applications and
components. Through product demonstrations, attendees will see how
they can use MATLAB Compiler application deployment software and
builder products for Java, .NET, and Excel to generate stand-alone
executables and C, C++, Java, .NET, and Excel components.

This webinar will also highlight the ability to use the deployment
products for Web deployment, to call MATLAB components from a Web
application.

A Q&A session will follow the presentation and demos.

Presenter: Eric Johnson