plot in a gui1 after push button in a gui2

조회 수: 1 (최근 30일)
Marco Bartolini
Marco Bartolini 2012년 3월 22일
Hi, I have a gui1 with a plot area "axes1" and a gui2 with a push button. I would like to plot a function in axes1 after push button in gui2. Some one can help me? Thanks!

답변 (1개)

Paul
Paul 2012년 3월 22일
I would suggest reading: Making Mulitple Guis work together from the matlab documentation. I suggest the findobj command to locate and change properties of other GUI f = findobj('Type','axis','Tag','axis1') Once you have the handle, you can manipulate the objects of the second GUI from the first. Becareful if you are going to have more than one instance of these programs running because the above would find the handle to all figures with tag property 'name'.

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by