Simba.Data
Simba.Data.Analysis.MatFileWriter
MatFileWriter.Write(Stream, IReadOnlyList\<MatVariable>, DateTime) Method
Writes a complete .mat file to stream.
1 | |
Parameters
stream System.IO.Stream
Destination, written from its current position. It is not closed.
variables System.Collections.Generic.IReadOnlyList<MatVariable>
Variables, written in this order. Names must be valid and unique.
createdOn System.DateTime
Date written in the descriptive text of the header (for reproducible tests).
Exceptions
System.ArgumentException
A name is invalid or used twice. No name is silently fixed
here: fixing belongs to the caller, which knows where the names come from.
System.ArgumentOutOfRangeException
A variable exceeds the matrix size supported by this writer.