필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

global variables for gui

조회 수: 1 (최근 30일)
Amirhosein Ghenaati
Amirhosein Ghenaati 2014년 11월 20일
마감: MATLAB Answer Bot 2021년 8월 20일
hello to all kind scientists I want to alter cdata property of my buttons such that pressing some buttons may lead to alter cdata of other buttons cdata contains printed image on the buttons. i have three solution and i can not execute all i want to know which way is the most competitive and swiftest?
1.i can use global method to share all pictures:
global imread('pic1.png)
2.or use handle property
handels.pic1=imread('pic1.png');
guidata(hObject, handles);
3.or call every images when usage in pushbutton callbacks

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by