필터 지우기
필터 지우기

How to run python code in matlab?

조회 수: 2 (최근 30일)
hoda kazemzadeh
hoda kazemzadeh 2018년 6월 12일
편집: Matt Dickson 2018년 6월 12일
Hello, I need to read some parameters of a board (connected via USB to PC). I couldnt find a code in Matlab for this reason but in Python there are some USB descriptor codes. But I need those parameters (specially Serialnumber of product) in my Matlab script. I want to know if it is possible to take that parameter in Matlab? if no, how can I run Python code in Matlab?
Thanks in advance

답변 (1개)

Matt Dickson
Matt Dickson 2018년 6월 12일
편집: Matt Dickson 2018년 6월 12일
The MATLAB Answers here discusses how to call Python scripts from MATLAB. Basically, you need to make a string for your command, then make a call to the system to run it.

카테고리

Help CenterFile Exchange에서 Python Client Programming에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by