Change attributes of object handles from python in Matlab
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
is there any possibility of updating/changing the attributes of a Matlab object handle from python without creating a set function?
I mean, to read the attributes it can be done using the wrokspace as follows:
eng.workspace['wx'] = x
height = eng.eval['wx.height']
This will return the height of the object x. Is there any other way of changing the height? I ask this because I should not change the script from which I am using the values and objects
Thanks!
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Call Python from MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!