I would lik to know how to save 2D Matlab arrays (129-by-129-by-1, double) to .npy files (Numpy array files). Is there any existing Matlab code to do so?
Many thanks!

 Akzeptierte Antwort

Eamon Gekakis
Eamon Gekakis am 16 Jun. 2022

0 Stimmen

You may not need to save as a .npy file,
you can read a .mat in Python, or you can write to a .csv from Matlab using writematrix or csvwrite.
Hope these options work equivalently.

Weitere Antworten (0)

Kategorien

Mehr zu Manage Products finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2021b

Gefragt:

am 16 Jun. 2022

Kommentiert:

am 16 Jun. 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by