ILNumerics Ultimate VS

ILMathloadArrayT Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Load single array from matfile file.

[ILNumerics Computing Engine]

Namespace:  ILNumerics
Assembly:  ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public static RetArray<T> loadArray<T>(
	string filename,
	string arrayname = ""
)

Parameters

filename
Type: SystemString
Path to the matfile.
arrayname (Optional)
Type: SystemString
[Optional] name of the requested array in the matfile. Default: (empty) load the first array found.

Type Parameters

T
Element type of the array to read.

Return Value

Type: RetArrayT
The array read from matfile.
Remarks

If arrayname is ommited, the first array is returned.

This function is based on MatFile which works with Matlab mat files version 6 only. In order to access Matlab mat files of a newer version, use the ILNumerics.IO.HDF5 API.

The typeparameter T must match the type of elements stored in the mat file.

[ILNumerics Computing Engine]

See Also

Reference