matlab_pysdk. runtime Import Error

3 visualizaciones (últimos 30 días)
Najmudeen Sibaweihi
Najmudeen Sibaweihi el 6 de Jul. de 2022
Comentada: Alexander Adeleye el 19 de Jul. de 2022
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 comentarios
Najmudeen Sibaweihi
Najmudeen Sibaweihi el 14 de Jul. de 2022
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 el 19 de Jul. de 2022
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).

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by