UIGETVARIABLES: Dialog to pass variables from workspace into GUI

UIGETVARIABLES creates a dialog box for selecting variables from the base workspace

1.3K Downloads

Updated Mon, 17 Aug 2015 18:00:17 +0000

From GitHub

View License on GitHub

Editor's Note: This file was selected as MATLAB Central Pick of the Week

It is common to write GUI-driven applications which require end users to pass in some variables from the workspace when calling the function to launch the GUI, e.g. myPlottingGUI(X,Y)
UIGETVARIABLES allows your users to interactively select workspace variables from a dialog instead of having to type variable names when launching your app. You can restrict which types of variables are allowed for each input, making it easier for users to successfully pass the right data into your app.

Give it a try and let me know what you think!

Cite As

Michelle Hirsch (2023). UIGETVARIABLES: Dialog to pass variables from workspace into GUI (https://github.com/michellehirsch/uigetvariables), GitHub. Retrieved .

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

Inspired: Volumetric Data Explorer, Simple Viewer 3D

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.5.0.0

Moved code to GitHub

1.4.0.0

New feature: Second output argument to return names of selected variables. As Adam suggests, this can be useful for doing things like labeling axes with names meaningful to your end user.

1.1.0.0

Bug fix.

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.