gui in matlab?
古いコメントを表示
hello
I create a button in my figure and I want when I pushe the button it returns value of 1 in to a variable. I wrote this code but I couldn't get the Output Value.
f = figure;
ax.Position = [75 75 325 280];
c = uicontrol('Style','pushbutton','Callback',@(src,event)BinSet);
function Output=BinSet
Output=1;
disp('successfull')
end
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!