How to return output from a function in a set()?
이전 댓글 표시
I am now using Matlab GUI and have problem during accessing return values from a function which is set by set().
Situation: I set the windowMotionFcn as below
set(gcf,'WindowButtonMotionFcn',@test);
Function 'test' can return 2 variables (named as var1 and var2).But I dont know how to store them... I have searched in the Internet and could not find any way.
How should I write?
Thank you for your help and kind attention.
채택된 답변
추가 답변 (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!