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!