python variable in matlab

4 visualizzazioni (ultimi 30 giorni)
Joydeb Saha
Joydeb Saha il 7 Feb 2022
Risposto: Meet il 20 Dic 2024
how to load a .npy variable or matrix in matlab R2017a?

Risposte (1)

Meet
Meet il 20 Dic 2024
Hi Joydeb,
There are two ways in which you could load a '.npy' matrix in MATLAB R2017a:
  1. Write a custom python script to read the '.npy' file.
  2. You could use "npy-matlab" libraries to load the '.npy' files.
You could refer to this MATLAB Answer for more information: https://www.mathworks.com/matlabcentral/answers/444998-how-do-read-npy-files-in-matlab
I hope it helps you with your task!!

Community Treasure Hunt

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

Start Hunting!

Translated by