python variable in matlab
Show older comments
how to load a .npy variable or matrix in matlab R2017a?
Answers (1)
Meet
on 20 Dec 2024
0 votes
Hi Joydeb,
There are two ways in which you could load a '.npy' matrix in MATLAB R2017a:
- Write a custom python script to read the '.npy' file.
- 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!!
Categories
Find more on Call Python from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!