How do I setup the Python Interpreter for Matlab 2014b for Windows OS
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Jim Hokanson
2014년 10월 4일
편집: Jim Hokanson
2014년 10월 4일
댓글 수: 2
Sahel Fallahdoust
2017년 12월 12일
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.
추가 답변 (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!