UIGETVARIABLES: Dialog to pass variables from workspace into GUI
Updated 17 Aug 2015
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!
Michelle Hirsch (2023). UIGETVARIABLES: Dialog to pass variables from workspace into GUI (https://github.com/michellehirsch/uigetvariables), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
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!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Moved code to GitHub
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.