python variable in matlab

9 visualizaciones (últimos 30 días)
Joydeb Saha
Joydeb Saha el 7 de Feb. de 2022
Respondida: Meet el 20 de Dic. de 2024 a las 6:01
how to load a .npy variable or matrix in matlab R2017a?

Respuestas (1)

Meet
Meet el 20 de Dic. de 2024 a las 6:01
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!!

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by