フィルターのクリア

Save 2D double array to .npy file

129 ビュー (過去 30 日間)
Yong
Yong 2022 年 6 月 16 日
コメント済み: Yong 2022 年 6 月 16 日
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 日
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.
  1 件のコメント
Yong
Yong 2022 年 6 月 16 日
Thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCall Python from MATLAB についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by