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!