figureExists(h)

版本 1.0.0.0 (932 字节) 作者: Sugato
This function returns the status if a given figure handle exists.
16.0 次下载
更新时间 2017/8/12

查看许可证

Function Description
This function returns the status if a given figure handle exists.

AUTHOR: Sugato Ray | Created on: 07-JUL-2017 | ray.sugato[at]gmail.com

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PLEASE ACKNOWLEDGE THE AUTHOR IF YOU USE THIS CODE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

INPUT:
h = figure handle

OUTPUT:
status = 1 when figure handle exists
status = 0 when figure handle DOES NOT exist

EXAMPLE:
status = figureExists(h);
status = figureExists(2); % check if figure 2 exists

引用格式

Sugato (2024). figureExists(h) (https://www.mathworks.com/matlabcentral/fileexchange/64097-figureexists-h), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Handle Classes 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0