matlab can't call matplotlib
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
jun li
el 1 de Abr. de 2021
Comentada: jun li
el 1 de Abr. de 2021
matlab can call python funtion now.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/569419/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/569424/image.jpeg)
but when I call matplotlib ,matlab crash
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/569429/image.jpeg)
0 comentarios
Respuesta aceptada
Mohammad Sami
el 1 de Abr. de 2021
Editada: Mohammad Sami
el 1 de Abr. de 2021
Based on this Answer from Matlab staff :
Anaconda python is not supported. You have to use the supported python implementation and ensure any necessary packages.
The python version supported also differs based on the Matlab release you are using. Check your release documentation for the version number supported.
4 comentarios
Mohammad Sami
el 1 de Abr. de 2021
The following post is also about TCL error. The cause was wrong version of TCL library. I am not sure what is the correct version for you. https://www.mathworks.com/matlabcentral/answers/525545-calling-python-function-from-matlab-when-using-python-tkinter-results-in-tclerror-can-t-find-a-usa
Más respuestas (0)
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!