empty handle and custom object

3 Ansichten (letzte 30 Tage)
Johan
Johan am 20 Okt. 2015
Bearbeitet: Johan am 20 Okt. 2015
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?

Antworten (0)

Kategorien

Mehr zu Graphics Object Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by