Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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)
Was this topic helpful?