Question about Push Button..
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
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
Image Analyst
2014년 7월 2일
What are layers? Layers of what? Do you mean layers like layers of pixels added onto a binary image to enlarge/grow the objects? Do you mean layers like in Photoshop where you have one image in a layer displayed on top of another image, perhaps with some transparency? Do you mean something else?
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"?
Jihad Chamseddine
2014년 7월 2일
편집: Image Analyst
2014년 7월 2일
답변 (2개)
Joseph Cheng
2014년 7월 2일
0 개 추천
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일
0 개 추천
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!