Why am I unable to launch the Python executable that was created on a CTF from MATLAB Complier SDK?
Show older comments
I have an application in Python that uses MATLAB functions created from MATLAB Complier SDK that is running without issue.
However, when I attempt to compile this application using PyInstaller, I am unable to run the executable created by PyInstaller as I receive the following error message:
File "C:\MATLAB\R2020a\toolbox\compiler_sdk\pysdk_py\matlab_pysdk\runtime\deployablepackage.py", line 33, in initialize
mcr_handle = self.__cppext_handle.startMatlabRuntimeInstance(self.__ctf_path)
SystemError: Cannot find CTF archive 'AppData\Local\...\[LibraryName]\[LibraryName].ctf'.
What does this error mean, and how can I fix this issue?
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Compiler SDK in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!