Error Matlab Compiler SDK Python

10 vues (au cours des 30 derniers jours)
fayçal ahmed zaid
fayçal ahmed zaid le 13 Juin 2017
I've followed the tutorial on mathworks website on starting with the Compiler SDK for Python. I've already compiled the makesqr function that I want to call from Python but I have this error :
>>> makesqr.initialize()
Undefined function or variable 'setInitialWorkingFolder'.
Error in matlabrc (line 197)
Traceback (most recent call last): File "<stdin>", line 1, in module
File "/usr/local/lib/python3.4/site-packages/translator/__init__.py", line 301, in initialize
return _pir.initialize_package()
File "/usr/local/lib/python3.4/site-packages/translator/__init__.py", line 249, in initialize_package
package_handle.initialize()
File "/usr/MATLAB/R2016b/toolbox/compiler_sdk/pysdk_py/matlab_pysdk/runtime/deployablepackage.py", line 33, in initialize mcr_handle = self.__cppext_handle.startMatlabRuntimeInstance(self.__ctf_path) SystemError
If someone can give me some help i'll be really grateful.

Réponses (0)

Catégories

En savoir plus sur MATLAB Compiler SDK dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by