Effacer les filtres
Effacer les filtres

Library Compiler Python terminate error

2 vues (au cours des 30 derniers jours)
Chiqueti
Chiqueti le 4 Sep 2018
Modifié(e) : Chiqueti le 14 Sep 2018
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

Réponses (0)

Catégories

En savoir plus sur Python Package Integration 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