From: Jérôme <dutmatlab@yahoo.fr>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webcrossing
Newsgroups: comp.soft-sys.matlab
Subject: Re: GUIs: GUIDE vs Code Only
Message-ID: <ef3f3e7.6@webcrossing.raydaftYaTP>
Date: Fri, 25 Aug 2006 12:15:31 -0400
References: <ef3f3e7.-1@webcrossing.raydaftYaTP> <ecn2v0$665$1@fred.mathworks.com>
Lines: 33
NNTP-Posting-Host: 194.167.95.13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:366583


Hi,

I agree with Loren's comments.

I created my first GUI with the GUIDE (I think with Matlab 5.?). And
I immediately thought that the code was too hermetic. The second GUI
was coded by hand.

IMHO, there are two other good reasons (with the one that Loren
mentioned) for NEWBIES to start with the GUIDE:

1) The "Object Browser" and "Property Inspector" are nice tools
displaying all properties and object hierarchy in an elegant way
(better than the "Property Editor"). The way they open is easier
(double-click) than command line INSPECT(obj_handle).

2) I think GUIDE may be more efficient for simple GUIs with a some
objects and basic interactivities.

BUT... I see a major drawback: the backward compatibility of the code
generated by the GUIDE.
Ex: the famous "Undefined function or variable 'gui_mainfcn'." for
users that have Matlab version older than R13 (-> the only
solution: UPGRADE $$$).

Most of the recent submissions on FEX containing GUIs are not
available for these users !

My opinion:
a) start with GUIDE (see 1) above)
b) leave it or only use it for the layout (Loren's comment)

Jérôme