isempty
Determine whether MetaData object is empty
Syntax
TF = isempty(MDObj)
Description
returns
logical TF = isempty(MDObj)1 (true) if MDObj is
an empty MetaData object. Otherwise, it returns logical 0 (false).
An empty MetaData object contains no variable names, values, or descriptions.
Input Arguments
| Object of the |
Examples
Construct a MetaData object, and then check to see if it is empty:
% Import the bioma.data namespace to make constructor function
% available
import bioma.data.*
% Construct MetaData object from .txt file
MDObj2 = MetaData('File', 'mouseSampleData.txt', 'VarDescChar', '#');
% Determine if MetaData object is empty
isempty(MDObj2)