File Exchange

image thumbnail

guipanel

version 1.0.0.0 (3.53 KB) by Dan Cohn
Creates dynamically moveable and resizeable uipanels – uses almost identical syntax to uipanel.

2 Downloads

Updated 19 Mar 2008

No License

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.

Cite As

Dan Cohn (2021). guipanel (https://www.mathworks.com/matlabcentral/fileexchange/19257-guipanel), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

Jveer

love it! cheers

e c

very impressive!

Thorsten Nowack

Very useful, thank you!

Nathan Danneman

Nicely done!

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!