Executing Python script in MATLAB?
조회 수: 1 (최근 30일)
이전 댓글 표시
Is there any way to run a full python script ? I am not looking to just call a function written in python.
댓글 수: 0
채택된 답변
Yongjian Feng
2021년 8월 7일
What is the difference between a full python script and a function written in python? They are the same in my opinion.
댓글 수: 8
Yongjian Feng
2021년 8월 9일
- Is pandas installed properly in python? Can you use python to import it without problems?
- Figure out where from it is imported, then inside matlab, call setenv (https://www.mathworks.com/help/matlab/ref/setenv.html) to set PYTHONPATH to add that location to it.
If you don't use virtualenv, this can be done easily.
추가 답변 (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!