Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Question about Push Button..
2 ビュー (過去 30 日間)
古いコメントを表示
I am dealing now with pushbuttons in matlab and I just want to know if I have a pushbutton and I want to use it as a button to add layers so when I click on it there will be layers added as much as I want (layers or another push buttons it doesnt matter) , so how could this be done?
3 件のコメント
Joseph Cheng
2014 年 7 月 2 日
Are you asking if there is a tabbed type of GUI interface? by push of a button you are looking at a different "layer?" "tab"?
回答 (2 件)
Joseph Cheng
2014 年 7 月 2 日
No clue why you would do this but you can create a pushbutton to start with with a callback that creates eval() a creation of push button. the pushbutton callback would need to take in the current position of the pushed button so you would offset the new button.
0 件のコメント
Image Analyst
2014 年 7 月 2 日
In the "Add layers" pushbuton callback, call the uicontrol() function to create additional pushbuttons. You will need to specify the tag, string, and position properties, at a minimum.
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!