Export data from Matlab to python
조회 수: 263 (최근 30일)
이전 댓글 표시
I have a logical and a uint16 array, both of the size 5000x2000. How can i get these two into python? E.g. into a numpy array?
댓글 수: 0
답변 (1개)
Ameer Hamza
2020년 11월 2일
편집: Ameer Hamza
2020년 11월 2일
Save it in a .mat file and load it in python using loadmat from scipy: https://docs.scipy.org/doc/scipy/reference/generated/scipy.io.loadmat.html.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!