Library Compiler Python terminate error
조회 수: 2 (최근 30일)
이전 댓글 표시
I created and executed one of my functions in python with success acording to this tutorial. But i have functions tha does not work in python and i dont know why (see this question on stackoverflow). So i decided to compile this specific functions and call system.os in python. So basically, i want to call python package functions and compiled functions in the same code in matlab.
The problem is, when i make
self.matlab_handle = matlab_function.initialize()
it looks like it block the matlab runtime resource. so when i call the compiled code, it gives an error:
Could not find version 9.0.1 of the MCR
Attempting to load mclmcrrt7_15.dll
Please install the correct version of the MCR
so i need to call terminate before to free the resources, right?
self.matlab_handle.terminate()
WRONG. I dont know why, but it does not free the resource. I spent some good hours in it and i couldnt figure out why. Could somebody please help me? How could i run matlab python package and matlab compiled code in the same python code. Or if some of you could awser my stack overflorw question i would be very glad. I am using python 2.7 and matlab 2016a
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Python Package Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!