Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
mahalex committed Sep 20, 2018
1 parent bc0eec0 commit e72c40c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ using (var fileStream = new System.IO.FileStream("output.mat", System.IO.FileMod
writer.Write(matFile);
}
```
By default, all variables are written in a compressed format; you can turn that off by using another constructor for `MatFileWriter`:
```csharp
var writer = new MatFileWriter(fileStream, new MatFileWriterOptions { UseCompression = CompressionUsage.Never });
```

Another option is to create a file from scratch. You can do it with `DataBuilder` class:

Expand Down

0 comments on commit e72c40c

Please sign in to comment.