Main Content

ExportToMBCDataStructure

Export data to MBC data structure

Description

mbcStruct = ExportToMBCDataStructure(DataObj) converts the data object to the MBC data structure format.

example

Examples

collapse all

mbcStruct = ExportToMBCDataStructure(DataObj);

Input Arguments

collapse all

mbcmodel.data data object.

Output Arguments

collapse all

An MBC data structure is a structure array that contains these fields:

  • varNames — Cell array of character vectors that hold the names of the variables in the data (1xn or nx1).

  • varUnits — Cell array of character vectors that hold the units associated with the variables in varNames (1xn or nx1). If array is empty, no units are defined.

  • data — Array that holds the values of the variables (mxn).

  • comment — Optional character vector holding comment information about the data.

Version History

Introduced before R2006a