empty handle and custom object
7 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Object Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!