5.0

5.0 | 4 ratings Rate this file 4 Downloads (last 30 days) File Size: 11.41 KB File ID: #19257
image thumbnail

guipanel

by Dan Cohn

 

18 Mar 2008 (Updated 19 Mar 2008)

Creates dynamically moveable and resizeable uipanels – uses almost identical syntax to uipanel.

| Watch this File

File Information
Description

Create truly dynamic GUI's using guipanel -- guipanel's are interactively resizeable and moveable. Panels can be nested and if desired, locked to a location. The calling syntax is almost identical to that of MATLAB's builtin uipanel. Additionally, you can pass-in uicontrol property param/values inside a structure.

objectHandle = guipanel(handle, 'Param', 'Value',...)
objectHandle = guipanel(uiStruct)
[objectHandle,fcnHandles] = guipanel(...)

fcnHandles is a structure of function handles useful in the manipulation of guipanel's:
Root2Fig
Parent2Child
MakeEpsilon
MakeRect
SyncUnits
UnSyncUnits
OverlappingAt

**UICONTROLS/TOGGLEBUTTONS parented to guipanels might stack incorrectly if those are overlapping**

One last acknowledgement -- I realize that this could be coded much more elegantly and powerfully with MATLAB's R2008 OOP tools -- which I'll do when I have more time.

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
19 Mar 2008 Nathan Danneman

Nicely done!

19 Mar 2008 Thorsten Nowack

Very useful, thank you!

30 Mar 2008 e c

very impressive!

21 Aug 2009 Jveer

love it! cheers

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
gui tools Dan Cohn 22 Oct 2008 09:54:10
example Dan Cohn 22 Oct 2008 09:54:10
gui Dan Cohn 22 Oct 2008 09:54:10
dynamic Dan Cohn 22 Oct 2008 09:54:10
move Dan Cohn 22 Oct 2008 09:54:10
nested function Dan Cohn 22 Oct 2008 09:54:10
uipanel Dan Cohn 22 Oct 2008 09:54:10
handle graphics Dan Cohn 22 Oct 2008 09:54:10
resize Dan Cohn 22 Oct 2008 09:54:10
dynamic exosceleton 12 Feb 2010 02:18:40

Contact us at files@mathworks.com