How can I create a tuple and dictionary in MATLAB? Whether I have to import any python modules to create such things?
조회 수: 7 (최근 30일)
이전 댓글 표시
a=py.tuple({'Robert',19,'Biology'});
disp(a);
But it doesn't work? Is there any solution to this? or Whether I have import any python modules?
댓글 수: 1
답변 (1개)
Taylor
2024년 11월 13일
The commands you've shared do work. Double check your system configuration https://www.mathworks.com/help/matlab/matlab_external/install-supported-python-implementation.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!