problem in calling out python script from matlab when i am calling the script from matlab its showing error in adafruit library ,it is in same directory . working in python

조회 수: 1 (최근 30일)

답변 (1개)

Yongjian Feng
Yongjian Feng 2021년 10월 24일
Try to add that folder into your PYTHONPATH env var.
  댓글 수: 10
Abhinav Prashar
Abhinav Prashar 2021년 11월 2일
yes ,but we have to use pythin libraries as its alreadz there to run servo motors of our adeept robot.
this link shows how python codes helps to run servo motor through raspberry. But we want to run it through MATLAB then deploy in raspberry for our project.
Yongjian Feng
Yongjian Feng 2021년 11월 3일
Strictly speaking, this is a matlab forum. If you can figure out which python lib/package causes your problem, maybe you can get help/support from the developer of that lib. Once it can run successfully outside matlab, then we can figure out how to run it from matlab.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Call MATLAB from Python에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by