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!

 채택된 답변

Eamon Gekakis
Eamon Gekakis 2022년 6월 16일

0 개 추천

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.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Manage Products에 대해 자세히 알아보기

제품

릴리스

R2021b

질문:

2022년 6월 16일

댓글:

2022년 6월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by