Change attributes of object handles from python in Matlab

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!

Réponses (0)

Catégories

Produits

Version

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by