Export data from Matlab to python
267 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a logical and a uint16 array, both of the size 5000x2000. How can i get these two into python? E.g. into a numpy array?
0 comentarios
Respuestas (1)
Ameer Hamza
el 2 de Nov. de 2020
Editada: Ameer Hamza
el 2 de Nov. de 2020
Save it in a .mat file and load it in python using loadmat from scipy: https://docs.scipy.org/doc/scipy/reference/generated/scipy.io.loadmat.html.
0 comentarios
Ver también
Categorías
Más información sobre Call Python from MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!