Calling python special methods from matlab
Ältere Kommentare anzeigen
In python, it is not uncommon to have methods or constants with a single or double underscore such as
__VERSION__
__len__()
Trying to access these from matlab via for example
py.numpy.__version__
results in the following error:
Error: The input character is not valid in MATLAB statements or expressions.
Is there a reliable way to call these variables or functions?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Call Python from MATLAB finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!