MatlabFile.ReadAllVectors Method

Definition

Namespace: Extreme.Data.Matlab
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0

Overload List

ReadAllVectors<T>(Stream, Boolean) Reads all vectors from a stream.
ReadAllVectors<T>(String, Boolean) Reads all vectors from a Matlab® data file.

MatlabFile.ReadAllVectors<T>(Stream, Boolean)

Reads all vectors from a stream.
C#
public static Dictionary<string, Vector<T>> ReadAllVectors<T>(
	Stream stream,
	bool strict = true
)

Parameters

stream  Stream
The stream to read from.
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, Vector<T>>
A dictionary containing all the vectors read from the stream using their name as the key.

MatlabFile.ReadAllVectors<T>(String, Boolean)

Reads all vectors from a Matlab® data file.
C#
public static Dictionary<string, Vector<T>> ReadAllVectors<T>(
	string path,
	bool strict
)

Parameters

path  String
The file to read from.
strict  Boolean
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, Vector<T>>
A dictionary containing all the vectors read from the file using their name as the key.

See Also