Skip to content

Saves MATLAB array into a pickled Numpy array.

License

Notifications You must be signed in to change notification settings

zhubeilife/mat2np

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

mat2np

Saves MATLAB array into a pickled Numpy array. (Currently only tested in Python 3)

Example usage :

in MATLAB :

 a = [ 1.2, 3.5, 4.3 ]; 
 mat2np(a, 'a.pkl', 'float64') 

then in Python :

import pickle
with open('a.pkl', 'rb') as fin :
    a = pickle.load(fin) 

About

Saves MATLAB array into a pickled Numpy array.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 100.0%