MatlabFile.ReadMatrices<T>(String, IEnumerable<String>, Boolean) Method

Reads the specified matrices from a Matlab® data file.

Definition

Namespace: Extreme.Data.Matlab
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
C#
public static Dictionary<string, Matrix<T>> ReadMatrices<T>(
	string path,
	IEnumerable<string> names,
	bool strict = true
)

Parameters

path  String
The file to read from.
names  IEnumerable<String>
A sequence of names of the matrices to read.
strict  Boolean  (Optional)
Specifies whether the element type should be matched exactly (true, the default), or whether conversions are allowed (false).

Type Parameters

T

Return Value

Dictionary<String, Matrix<T>>
A dictionary containing the matrices read from the file using their name as the key.

See Also