How can I create a tuple and dictionary in MATLAB? Whether I have to import any python modules to create such things?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Respuestas (1)
Taylor
el 13 de Nov. de 2024
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 comentarios
Ver también
Categorías
Más información sobre Call Python from MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!