Documentation Center

  • Trial Software
  • Product Updates

isempty

Class: bioma.data.MetaData
Package: bioma.data

Determine whether MetaData object is empty

Syntax

TF = isempty(MDObj)

Description

TF = isempty(MDObj) returns logical 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

MDObj

Object of the bioma.data.MetaData class.

Examples

Construct a MetaData object, and then check to see if it is empty:

% Import bioma.data package 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)

See Also

How To

Was this topic helpful?