How can I create a tuple and dictionary in MATLAB? Whether I have to import any python modules to create such things?
3 ビュー (過去 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!