You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Today gui can be developped within figure or uifigure. It may be useful to write codes which are compatible with the two alternatives, according to user preference for example.
In this case, it is frequently necessary to check if the current graphical object is a figure or uifigure or its figure ancestor. The short function isuifigure answers to the question.
For example:
hf=uifigure;ax=axes(hf);
isuifigure(hf) or isuifigure(ax) gives true
hf=figure;ax=axes(hf);
isuifigure(hf) or isuifigure(ax) gives false
(not tested on macOS or Linux platform)
Cite As
Alain Barraud (2026). isuifigure (https://www.mathworks.com/matlabcentral/fileexchange/111850-isuifigure), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (1.3 KB)
MATLAB Release Compatibility
- Compatible with R2016a and later releases
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
