Thread Subject: GUI: use compiler to make exe file

Subject: GUI: use compiler to make exe file

From: vietha

Date: 17 Oct, 2009 14:16:03

Message: 1 of 5

Hi guys,

I finished the program using GUI in Matlab. Now, i want to transfer to .exe file using Matlab compiler.

My program includes 4 m files. However, in Compiler, we just can add 1 m file in main function. So, how i can add more than 1 m file?

Thanks in advance.

Subject: GUI: use compiler to make exe file

From: Mehmet OZTURK

Date: 17 Oct, 2009 14:53:03

Message: 2 of 5

Hi,
Matlab compiler uses a dependency analysis to add necessary files to your .exe. So you only compile your main function.

Subject: GUI: use compiler to make exe file

From: vietha

Date: 18 Oct, 2009 01:32:03

Message: 3 of 5

 Hi Mehmet OZTURK,

actually, my program has 4 step: 1, 2, 3, 4 equivalen to 1st, 2nd... m flie

You mean that, i just need to add the 1st m file to main function, and the others are to the other files?

Subject: GUI: use compiler to make exe file

From: ImageAnalyst

Date: 18 Oct, 2009 02:42:10

Message: 4 of 5

On Oct 17, 9:32 pm, "vietha " <nguyenvieth...@gmail.com> wrote:
>  Hi Mehmet OZTURK,
>
> actually, my program has 4 step: 1, 2, 3, 4 equivalen to 1st, 2nd... m flie
>
> You mean that, i just need to add the 1st m file to main function, and the others are to the other files?

-------------------------------------------------------------------------------
Yes, the compiler figures out what you need and finds them and
includes them - you don' t need to worry about m-files and .fig
files. You only need to bundle additonal files if you have things
like sample data files, splash images read in at run time,
documentation, Excel templates, .mat files, etc.

Subject: GUI: use compiler to make exe file

From: vietha

Date: 18 Oct, 2009 07:16:04

Message: 5 of 5

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <5a6e9bb7-1952-43dd-a122-509d45e1096f@b15g2000yqd.googlegroups.com>...
> On Oct 17, 9:32?pm, "vietha " <nguyenvieth...@gmail.com> wrote:
> > ?Hi Mehmet OZTURK,
> >
> > actually, my program has 4 step: 1, 2, 3, 4 equivalen to 1st, 2nd... m flie
> >
> > You mean that, i just need to add the 1st m file to main function, and the others are to the other files?
>
> -------------------------------------------------------------------------------
> Yes, the compiler figures out what you need and finds them and
> includes them - you don' t need to worry about m-files and .fig
> files. You only need to bundle additonal files if you have things
> like sample data files, splash images read in at run time,
> documentation, Excel templates, .mat files, etc.

I dit it. Thank you sooooo much!

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
matlab conpiler vietha 17 Oct, 2009 10:19:04
gui vietha 17 Oct, 2009 10:19:03
rssFeed for this Thread

Contact us at files@mathworks.com