Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fsprojects/matprovider
Type provider for .mat files
https://github.com/fsprojects/matprovider
Last synced: 4 months ago
JSON representation
Type provider for .mat files
- Host: GitHub
- URL: https://github.com/fsprojects/matprovider
- Owner: fsprojects
- License: other
- Created: 2014-10-18T18:44:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-28T12:41:07.000Z (over 6 years ago)
- Last Synced: 2024-01-16T05:55:19.926Z (6 months ago)
- Language: F#
- Size: 7.17 MB
- Stars: 11
- Watchers: 10
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Lists
- awesome-fsharp - MatDataProvider ★ 6 ⧗ 378 - Erased type provider for `.mat` files (binary MATLAB format files). [Apache 2.0] (Type providers / Performance analysis)
README
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):```fsharp
[]
let fileName = "/path/to/file/simulation.mat"type Simulation = MatDataProvider.MatFile
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](https://ci.appveyor.com/api/projects/status/hb814824p50t9pj2?svg=true)](https://ci.appveyor.com/project/luajalla/matprovider)
[![Build Status](https://travis-ci.org/fsprojects/matprovider.svg)](https://travis-ci.org/fsprojects/matprovider)#### Links
Mat-file format description ([pdf](http://www.mathworks.com/help/pdf_doc/matlab/matfile_format.pdf))