Thread Subject: Making GUI as .exe file

Subject: Making GUI as .exe file

From: M.Mohsin Siraj

Date: 30 Jul, 2008 15:05:20

Message: 1 of 4

Hey GuyZ
whenever we design any GUI, it creates two file one with
extension .fig and .m
i want to have the .exe file of the same GUI, how can i ve
the .exe file of GUI... because i cannt give every one the
code again n again...

Regards,

Subject: Making GUI as .exe file

From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)

Date: 30 Jul, 2008 15:13:54

Message: 2 of 4

In article <g6pvvg$8o3$1@fred.mathworks.com>,
M.Mohsin Siraj <stylismoh@mathworks.com> wrote:

>whenever we design any GUI, it creates two file one with
>extension .fig and .m
>i want to have the .exe file of the same GUI, how can i ve
>the .exe file of GUI... because i cannt give every one the
>code again n again...

You would need the optional (extra cost) Matlab Compiler toolbox.
--
  "He wove a great web of knowledge, linking everything together,
  and sat modestly at a switchboard at the center, eager to help."
                                              -- Walter Kerr

Subject: Making GUI as .exe file

From: Jeremy Smith

Date: 30 Jul, 2008 15:27:02

Message: 3 of 4

It sounds like you're using Guide to create your GUIs. If I
remember correctly this always creates a .fig file to go
with the code. You will have to avoid using Guide if you
don't want to have to include a fig file.

Prgrammatically build a GUI using the uicontrol, figure,
getappdata, setappdata, get, set, drawnow, and other GUI
functions. It looks like there is a good intro to non-Guide
GUI design in the Matlab help (at least in R2007a). Do a
search in the Matlab help for "gui" and the third entry
should be "Designing a GUI". That series of pages will help
a lot.

Subject: Making GUI as .exe file

From: M.Mohsin Siraj

Date: 31 Jul, 2008 03:02:01

Message: 4 of 4

"Jeremy Smith" <smit1729@umn.NOSPAM.edu> wrote in message
<g6q186$qkh$1@fred.mathworks.com>...
> It sounds like you're using Guide to create your GUIs.
If I
> remember correctly this always creates a .fig file to go
> with the code. You will have to avoid using Guide if you
> don't want to have to include a fig file.
>
> Prgrammatically build a GUI using the uicontrol, figure,
> getappdata, setappdata, get, set, drawnow, and other GUI
> functions. It looks like there is a good intro to non-
Guide
> GUI design in the Matlab help (at least in R2007a). Do a
> search in the Matlab help for "gui" and the third entry
> should be "Designing a GUI". That series of pages will
help
> a lot.


Mr.Smith
Thnx for your answer, i am using guide, and i do have the
compiler... now how it works can you kindly explain me its
working???

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
compiler M.Mohsin Siraj 30 Jul, 2008 23:05:30
gui Jeremy Smith 30 Jul, 2008 11:30:26
executable Jeremy Smith 30 Jul, 2008 11:30:26
gui M.Mohsin Siraj 30 Jul, 2008 11:10:21
rssFeed for this Thread

Contact us at files@mathworks.com