Create and activate figures by name
Finds and activates, or creates, figure with user-specified name.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Cite As
Brett Shoelson (2026). Create and activate figures by name (https://www.mathworks.com/matlabcentral/fileexchange/18220-create-and-activate-figures-by-name), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.3.0 (2.3 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.3.0 | R2014b ready. |
||
| 1.2.0 | Fixes a bug when togglefig is called with no input arguments. Thanks to Danilo for pointing it out! |
||
| 1.1.0 | I added a new (optional) input argument that triggers a CLF (clear-figure) command. |
||
| 1.0.0 | Minor modification to suppress handle generation if no output is requested. |