empty handle and custom object

6 views (last 30 days)
Johan
Johan on 20 Oct 2015
Edited: Johan on 20 Oct 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?

Answers (0)

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!