MatDataProvider is an erased type provider for .mat files (binary MATLAB format files).
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
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.
Mat-file format description (pdf)