isappdata

True if application-defined data exists

Syntax

tf = isappdata(h,name)

Description

tf = isappdata(h,name) returns logical(1) if application-defined data exists and these conditions are met:

  • The application data has the specified name value.

  • The application data is associated with the UI component, h.

Otherwise, isappdata returns logical(0)

Introduced before R2006a