Using get() with ui handles?
11 ビュー (過去 30 日間)
古いコメントを表示
I want to do something like this:
function simulationDataMatrix = createSimulationDataMatrix(handles,DataName,noOfSimulations)
if get(handles.radiobutton(DataName)Constant,'Value') == 0
...
...
The script will be for fetching and catching exceptions from user inputted data from the UI.
How can I achieve something like this?
Thanks!
0 件のコメント
採用された回答
Jan
2017 年 2 月 11 日
It depends on what "DataName" and "Constant" means. If I dare to guess, they might be strings. Then:
if get(handles.(['radiobutton', DataName, 'Constant']), 'Value')
2 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!