Passing objects from app designer to the workspace
이전 댓글 표시
Hello , I'm using app designer and I am creating object when some button clicked, (in the callback function) i'm trying to use the object that created in the callback funcion in the workspace. I know that i can create some "global" object in the properties and then use app.obj. There is other way that i can pass the object from the callbackfunction to the workspace? or the only way is to use the properties.
Thank you very much :)
채택된 답변
추가 답변 (1개)
Adam Danz
2022년 10월 18일
0 개 추천
The best way to access the object created by an app is to store the handle to the object as a public property of the app and to access that handle through the app object, stored as a variable in your workspace.
More info
카테고리
도움말 센터 및 File Exchange에서 Code Execution에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
