ILNumerics Ultimate VS

MatFileWrite Method (Stream)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Write this mat file into a binary stream

[ILNumerics Core Module]

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

public void Write(
	Stream stream
)

Parameters

stream
Type: System.IOStream
Stream to receive data. This will commonly be a FileStream object.
Remarks

This method writes the full content of the current mat file into a binary stream. The file afterwards is suitable to be read again by ILNumerics.MatFile classes or by compatible *.mat file readers - including Matlab, e.g.

Examples

MatFile m = new MatFile(myarrays); 
using (Stream s = new FileStream("test.mat",FileMode.Create)) {
    m.Write(s);
}

[ILNumerics Core Module]

See Also

Reference