empty handle and custom object
显示 更早的评论
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 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!