python variable in matlab

8 vues (au cours des 30 derniers jours)
Joydeb Saha
Joydeb Saha le 7 Fév 2022
Réponse apportée : Meet le 20 Déc 2024
how to load a .npy variable or matrix in matlab R2017a?

Réponses (1)

Meet
Meet le 20 Déc 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!!

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by