Passing Variables between functions in a GUI

조회 수: 2 (최근 30일)
William
William 2011년 10월 13일
Greetings,
After several days of trying to use a "setappdata" function and getting too many errors I am resovling to find a much simpler solution. I am trying to create a varaible in one function in a gui and pass it into another.
The idea is that I have a radio button selectring one or two different types of tests to run. It sets a variable to either a 1 or 0 and then another function uses the one or a zero, adjusts it's parameters accordingly and runs the test.
Does anyone have any ideas for a simple (does not matter if it's elegant) solution?
Thank you!
Bill

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2011년 10월 13일

카테고리

Help CenterFile Exchange에서 App Building에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by