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!

回答 (0 件)

カテゴリ

製品

リリース

R2019a

質問済み:

2019 年 6 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by