フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to get data from one gui to other

1 回表示 (過去 30 日間)
CHETHAN S
CHETHAN S 2016 年 1 月 14 日
閉鎖済み: Walter Roberson 2016 年 1 月 15 日
I want the data entered in gui1 to be saved in gui2. So please assist me in achieving the desired result with code. The gui1 code is as follows:
function varargout = program(varargin)
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @program_OpeningFcn, ...
'gui_OutputFcn', @program_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
function program_OpeningFcn(hObject, eventdata, handles, varargin)
handles.output = hObject;
guidata(hObject, handles);
function varargout = program_OutputFcn(hObject, eventdata, handles)
varargout{1} = handles.output;
function edit1_Callback(hObject, eventdata, handles)
function edit1_CreateFcn(hObject, eventdata, handles)
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function pushbutton1_Callback(hObject, eventdata, handles)
gui2
what(code) must be written in gui2 to save data written in program(i.e.,gui1).
  3 件のコメント
Stephen23
Stephen23 2016 年 1 月 14 日
Stephen23
Stephen23 2016 年 1 月 14 日
編集済み: Stephen23 2016 年 1 月 14 日

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by