How do I setup the Python Interpreter for Matlab 2014b for Windows OS
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jim Hokanson
le 4 Oct 2014
Commenté : Jim Hokanson
le 12 Déc 2017
In Matlab 2014b there is support for calling Python directly from Matlab.
See help CallPythonExample for an example
But I'm running Windows and the example doesn't work.
T = 'MATLAB® is a high-level language and interactive environment for numerical computation, visualization, and programming. Using MATLAB, you can analyze data, develop algorithms, and create models and applications. The language, tools, and built-in math functions enable you to explore multiple approaches and reach a solution faster than with spreadsheets or traditional programming languages, such as C/C++ or Java™.';
wrapped = py.textwrap.wrap(T);
0 commentaires
Réponse acceptée
Jim Hokanson
le 4 Oct 2014
Modifié(e) : Jim Hokanson
le 4 Oct 2014
2 commentaires
Sahel Fallahdoust
le 12 Déc 2017
can it be done within the Matlab code (like in the beginning of the function for example)? Cause I have a matlab exe which is calling to some python modules but when I run the exe, it's like it can not find the python executable.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!