Python script not running with system

조회 수: 3 (최근 30일)
Guy Nir
Guy Nir 2021년 2월 13일
답변: Abhishek Gupta 2021년 2월 16일
I am trying to call a python fuunctiion from system. However, I am getting an error and the source seems to be the python functon itself (see below). However, when I run this function directly from a shell, it works well.
[status,cmdout]=system('python /Users/guynir/OligoMiner/outputClean.py -h')
status =
1
cmdout =
'Traceback (most recent call last):
File "/Users/guynir/OligoMiner/outputClean.py", line 43, in <module>
from Bio.SeqUtils import MeltingTemp as mt
ImportError: No module named Bio.SeqUtils
'

답변 (1개)

Abhishek Gupta
Abhishek Gupta 2021년 2월 16일

카테고리

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

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by