Matlab File.Read Matrix Method
Definition
Namespace: Extreme.Data.Matlab
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
Overload List
Read | Reads a matrix from the specified Matlab® data file. |
Read | Reads a matrix from the specified Matlab® data file. |
Read | Reads the matrix with the specified name from a stream. |
Read | Reads the matrix with the specified name from a Matlab® data file. |
ReadMatrix<T>(Stream, Boolean)
Reads a matrix from the specified Matlab® data file.
public static Matrix<T> ReadMatrix<T>(
Stream stream,
bool strict
)
Parameters
- stream Stream
- The stream 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
Matrix<T>The matrix that was read from the stream.
ReadMatrix<T>(String, Boolean)
Reads a matrix from the specified Matlab® data file.
public static Matrix<T> ReadMatrix<T>(
string path,
bool strict = true
)
Parameters
- path String
- The file 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
Matrix<T>The matrix that was read from the file.
ReadMatrix<T>(Stream, String, Boolean)
Reads the matrix with the specified name from a stream.
public static Matrix<T> ReadMatrix<T>(
Stream stream,
string name,
bool strict = true
)
Parameters
- stream Stream
- The stream to read from.
- name String
- The name of the matrix 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
Matrix<T>The matrix that was read from the stream.
ReadMatrix<T>(String, String, Boolean)
Reads the matrix with the specified name from a Matlab® data file.
public static Matrix<T> ReadMatrix<T>(
string path,
string name,
bool strict = true
)
Parameters
- path String
- The file to read from.
- name String
- The name of the matrix 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
Matrix<T>The matrix that was read from the file.