View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

4.9 | 8 ratings Rate this file 29 Downloads (last 30 days) File Size: 671 KB File ID: #22936 Version:




09 Feb 2009 (Updated )

EasyGUI ver 1.0 -- Build GUIs quickly and easily in MATLAB

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information

EasyGUI allows you to quickly create a graphical "front-end" for an m-file so that users can interactively manipulate parameters. It provides:
* A set of “widgets” (UI controls) with a simple programming interface
* Automatic layout of the widgets
* An intuitive way to combine a GUI with MATLAB plotting and visualization
* An intuitive way to share data between GUIs (e.g., a dialog window and the main GUI)

EasyGUI also comes with a widget for analog data acquisition (requires the Data Acquisition Toolbox). This allows you to easily create a GUI to:

* Acquire data (allowing the user to start and stop acquisition, and set sampling rate, channels, etc.)
* Analyze the data (using parameters that can be set using the GUI), and
* Plot the results using familiar MATLAB commands

NOTE: EasyGUI does not generate the GUI for you. Rather, it makes it easy to add UI controls to an m-file, get and set the values of those controls, and wait for user input.

EasyGUI is written using MATLAB Classes and requires at least R2008a. For more information object-oriented programming with MATLAB, see:


This file inspired Matlab Support Package For Velleman K8055/Vm110 Experiment Board and Morphology By Matlab With Gui.

MATLAB release MATLAB 7.6 (R2008a)
Other requirements The GUI.DAQINPUT widget requires the Data Acquisition Toolbox.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (15)
07 Sep 2016 M. Welters

Dear readers,

please note that the update on 01 September 2016 only replaced the license.txt file within the zip. This means that autogui / EasyGui still does not work under 2014b or later.

Comment only
03 Aug 2016 CU Chan

Is there anyone able to fix this nice package for Matlab newer than 2014a?

Comment only
06 Jan 2016 M. Welters

It is such a pity that autogui does not work unter R2014b anymore. Replacing "widthlimits" by "WidthLimits" and "heightlimits" by "HeightLimits" only removes the exceptions. Unfortunately the created GUI controls are invisible. I think this is related to this change:

Dear Mathworks engineers, you should be easily able to provide an autogui revision compatible to R2014b or later, aren't you?

Comment only
13 Dec 2014 Jeff

Jeff (view profile)

This has been very helpful for us, but unfortunately 2014b breaks it. I'm looking into the errors but worried they may be extensive.

12 Jul 2014 Andrew Metcalf

I am having a problem setting the TitlePosition to anything but 'lefttop' on a It throws an error on line 65 of borderedwidget.m.

Any ideas on how to fix this? Thanks.

Comment only
19 Dec 2013 Bekir Sait

22 May 2013 Gautam Vallabha

Muthu, it is possible to use the widgets without blocking MATLAB. See examples/autodemo2.m and autodemo3.m

Comment only
22 May 2013 Muthu Annamalai

This is a very handy tool; thanks for the excellent demos as well.

Is it possible to use the gui.autogui classes without the busy-waiting loop for monitoring signals? If this is possible, then I can use GUI classes with callbacks, and not block MATLAB session.

24 May 2011 Gautam Vallabha

J Fields: You can use MATLAB Compiler to take GUIs created with EasyGUI and compile them into standalone programs:

Comment only
24 May 2011 J Fields

Can gui's designed with this tool be compiled into standalone programs?

Comment only
14 Oct 2010 zhu longchao


17 Aug 2010 Michael Jablecki

This is wonderful. I only wish for more of it - more classes, more features, etc.

29 Jun 2009 Emanuele Ruffaldi

Amazing tool for simple gui. The difference between while loop and the callbacks is that the gui is not blocked, relevant when a gui open other gui for additional operations

In addition it could be good to have sliders with integer steps, and also selection menu that return a value associated to the entity label (solvable using a java Hashtable)

19 Mar 2009 Dani Hak

great tool, very easy to use and and well documented.
one problem i encountered is the the ui's don't refresh fast enough when i used them as output function for fminbnd, so just added 0.01 sec delay and that solved the problem.

17 Mar 2009 Y Mehta

Very useful tool, sp for situations where there are a number of inputs that produce a limited number of outputs.

13 Feb 2009 1.1

Fixed a minor bug in EasyGUI/examples/sharedata_demo.m

01 Sep 2016

Updated license

Contact us