empty handle and custom object

6 ビュー (過去 30 日間)
Johan
Johan 2015 年 10 月 20 日
編集済み: Johan 2015 年 10 月 20 日
Hi, I am having a stupid issue (with many, many workaround). I created 2 objects: the firstObj is an object (with handle) that has a property 'jobID'. The otherObj is an object (with handle) that makes table GUI. The latter object has a property 'data'.
When I create the otherObj.data=firstObj.jobID (where initiated as jobID.empty), it seems that no handle are created, therefore, when I set firstObj.job(end+1)=dummyjob, the data in the otherObj does not get updated, as opposed to otherObj.data=firstObj.jobID.notempty where handle hold.
The stylish issue is that I have to "fill" otherObj.data everytime I update firstObj. Is there a way to clean initiate those object?

回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by