Why do I encounter the error "AttributeError: 'matlab.object' object has no attribute 'getBalance'" when using a MATLAB class compiled as a Python package?
Mostra commenti meno recenti
Is it possible to compile a MATLAB class into a Python package, create an instance of that class in Python, and use its methods?
I have successfully compiled a class into a Python package, installed the package in Python, initialized the package, and created an object of the class by calling the constructor.
However, I am unable to use any of the methods of the created class object. I receive the error
"AttributeError: 'matlab.object' object has no attribute 'getBalance',"
where "getBalance" is one of the class methods.
Is there a way to use the methods of the class, or is this not possible?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Python Package Integration in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!