From: Luna Moon on
Hi all,

I couldn't get it to work.

I have a Matlab project with files in a few subfolders under the main
folder.

The main script is under the main funder and then it runs the scripts
under each subfolders ...

I opened up the DeploymentTool, and add the "main_work_flow"
function ...

I thought it will be smart enough to find all the scripts and
functions that are used and wrap them all up for me...

but it doesn't work...

please help me...
From: ImageAnalyst on
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.)
From: Steven_Lord on


"Luna Moon" <lunamoonmoon(a)gmail.com> wrote in message
news:4d4200f0-8b88-47c9-ac0a-1e805e7e6551(a)l20g2000yqm.googlegroups.com...
> Hi all,
>
> I couldn't get it to work.
>
> I have a Matlab project with files in a few subfolders under the main
> folder.
>
> The main script is under the main funder and then it runs the scripts
> under each subfolders ...

How does it do so? Does it explicitly call the scripts by name or does it
do something like EVAL or FEVALing the names?

> I opened up the DeploymentTool, and add the "main_work_flow"
> function ...
>
> I thought it will be smart enough to find all the scripts and
> functions that are used and wrap them all up for me...
>
> but it doesn't work...
>
> please help me...

Read the second and third sections on this troubleshooting page:

http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/br2cqa0-2.html

--
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: Luna Moon on
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?

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?

My end goal is that other users can just click on a button and run my
program...
From: Luna Moon on
On Aug 4, 1:52 pm, Luna Moon <lunamoonm...(a)gmail.com> wrote:
> 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?
>
> 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?
>
> My end goal is that other users can just click on a button and run my
> program...



I am testing the generated package on the very computer that has
Matlab on.

And the bat file "_install" doesn't even run.

A cmd window flashed but then immediately dissappeared.

What's wrong?