dash.dataSource.mat.mat

Create a new dash.dataSource.mat object


Syntax



Description

obj = dash.dataSource.mat(file, var)

Creates a mat object to read data from a variable in a MAT-file


Input Arguments

file

string scalar
The name of a MAT-file

var

string scalar
The name of the variable to load from the file. The variable in the file must not be empty.

Output Arguments

obj

scalar dash.*dataSource*.*mat* object
The new mat object