Multiple GUI's together for the same program
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi for everyone ,
I want to make 2 GUI's for my program How i can make them , and how i can linked them together by some buttons ?
Thnx ..
댓글 수: 3
채택된 답변
Jared
2011년 11월 27일
Suppose you have 2 GUIs main and ext_plot you can open the 2nd GUI from main with the line
ext_plot;
You can pass variables using getappdata and setappdata suppose we want to pass a function into ext_plot to graph.
% In main
f = 'x^2+y^2';
setappdata(0, 'function', f);
ext_plot;
% In ext_plot
f=getappdata(0, 'function');
func=inline(f);
ezsurf(func,[-2 2]);
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!