Skip to content

Experimental code to read/write NumPy .NPY files in MATLAB

License

Notifications You must be signed in to change notification settings

mickeyil/npy-matlab

 
 

Repository files navigation

npy-matlab

Experimental code to read/write NumPy .NPY files in MATLAB

See the notebook for python tests

See test_readNPY.m for matlab reading/writing tests.

See exampleMemmap.m for example of how to memory map a npy file in matlab, which is not trivial when the file uses C-ordering (i.e. row-major order) rather than fortran-ordering (i.e. column-major ordering). Matlab's memory mapping only supports fortran, but Python's default is C so npy files created with Python defaults are not straightforward to read in Matlab.

About

Experimental code to read/write NumPy .NPY files in MATLAB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.8%
  • MATLAB 0.2%