Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MatDataProvider

What is it?

MatDataProvider is an erased type provider for .mat files (binary MATLAB format files).

Usage

Here's a simple example of reading 'simulation.mat' file, where 'parameters' and 'results' are the variables stored there (a struct and array):

[<Literal>]
let fileName = "/path/to/file/simulation.mat"

type Simulation = MatDataProvider.MatFile<fileName>

Simulation.parameters.paths
Simulation.parameters.seed
...
Simulations.results

Limitations

This is an initial implementation and certain element types are not supported (e.g. sparse matrices) or not finalized yet (cell arrays). There're some sample .mat files in the 'data' folder.

Build status

Build status Build Status

Links

Mat-file format description (pdf)

About

Type provider for .mat files

Resources

License

Releases

No releases published

Packages

No packages published

Languages