matlab_pysdk. runtime Import Error

조회 수: 5 (최근 30일)
Najmudeen Sibaweihi
Najmudeen Sibaweihi 2022년 7월 6일
댓글: Alexander Adeleye 2022년 7월 19일
File "C:\Program Files\MATLAB\MATLAB Runtime\R2022b\toolbox\compiler_sdk\pysdk_py\matlab_pysdk\runtime\deployablefunc.py", line 80, in __call__
nlhsWasSpecified, stdoutObj, stderrObj).result()
File "C:\Program Files\MATLAB\MATLAB Runtime\R2022b\toolbox\compiler_sdk\pysdk_py\matlab_pysdk\runtime\futureresult.py", line 71, in result
from matlab_pysdk.runtime import NumberOfOutputArgumentsError
ImportError: cannot import name 'NumberOfOutputArgumentsError' from 'matlab_pysdk.runtime' (C:\Program Files\MATLAB\MATLAB Runtime\R2022b\toolbox\compiler_sdk\pysdk_py\matlab_pysdk\runtime\__init__.py)
  댓글 수: 4
Najmudeen Sibaweihi
Najmudeen Sibaweihi 2022년 7월 14일
Am using R2022b prelease version. When I open the IDE and run for the first time no error but if I re-run that's when I get the error message above. So each time I need to restart the IDE before running my script
Alexander Adeleye
Alexander Adeleye 2022년 7월 19일
I am also having this issue. I'm running Matlab R2021b and am compiling the code into a Python package with the R2021b version of Matlab runtime (v9.11).

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by