📄 qqchabu.cpp
字号:
//
// % Last Modified by GUIDE v2.5 13-Jul-2004 11:10:51
//
// % Begin initialization code - DO NOT EDIT
// gui_Singleton = 1;
//
gui_Singleton = _mxarray0_;
//
// gui_State = struct('gui_Name', mfilename, ...
//
gui_State
= struct_func(
mwVarargin(
_mxarray1_,
"qqchabu",
_mxarray3_,
mwVv(gui_Singleton, "gui_Singleton"),
_mxarray5_,
mwArray(mlxQqchabu_QQchabu_OpeningFcn, "QQchabu_OpeningFcn"),
_mxarray7_,
mwArray(mlxQqchabu_QQchabu_OutputFcn, "QQchabu_OutputFcn"),
_mxarray9_,
_mxarray11_,
_mxarray12_,
_mxarray11_));
//
// 'gui_Singleton', gui_Singleton, ...
// 'gui_OpeningFcn', @QQchabu_OpeningFcn, ...
// 'gui_OutputFcn', @QQchabu_OutputFcn, ...
// 'gui_LayoutFcn', [] , ...
// 'gui_Callback', []);
// if nargin & isstr(varargin{1})
//
{
mwArray a_ = nargin_;
if (tobool(a_)
&& tobool(
a_
& feval(
mwValueVarargout(),
mlxIsstr,
mwVarargin(
mwVa(varargin, "varargin").cell(_mxarray0_))))) {
//
// gui_State.gui_Callback = str2func(varargin{1});
//
gui_State.field("gui_Callback")
= feval(
mwValueVarargout(),
mlxStr2func,
mwVarargin(mwVa(varargin, "varargin").cell(_mxarray0_)));
} else {
}
//
// end
//
}
//
//
// if nargout
//
if (nargout_ != 0) {
_T0_ = colon(_mxarray0_, nargout_);
//
// [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
//
Ngui_mainfcn(
0,
mwVarargout(varargout.cell(_T0_)),
mwVv(gui_State, "gui_State"),
mwVarargin(mwVa(varargin, "varargin").cell(colon())));
//
// else
//
} else {
//
// gui_mainfcn(gui_State, varargin{:});
//
ans.EqAns(
Ngui_mainfcn(
0,
mwAnsVarargout(),
mwVv(gui_State, "gui_State"),
mwVarargin(mwVa(varargin, "varargin").cell(colon()))));
//
// end
//
}
return varargout;
//
// % End initialization code - DO NOT EDIT
//
//
// % --- Executes just before QQchabu is made visible.
//
}
//
// The function "Mqqchabu_QQchabu_OpeningFcn" is the implementation version of
// the "qqchabu/QQchabu_OpeningFcn" M-function from file
// "e:\matlab6.5\work\qqmywork\qqchabu.m" (lines 48-66). It contains the actual
// compiled code for that M-function. It is a static function and must only be
// called from one of the interface functions, appearing below.
//
//
// function QQchabu_OpeningFcn(hObject, eventdata, handles, varargin)
//
static void Mqqchabu_QQchabu_OpeningFcn(mwArray hObject,
mwArray eventdata,
mwArray handles,
mwArray varargin) {
mwLocalFunctionTable save_local_function_table_
= &_local_function_table_qqchabu;
mwArray ans = mwArray::UNDEFINED;
//
// % This function has no output args, see OutputFcn.
// % hObject handle to figure
// % eventdata reserved - to be defined in a future version of MATLAB
// % handles structure with handles and user data (see GUIDATA)
// % varargin command line arguments to QQchabu (see VARARGIN)
//
// % Choose default command line output for QQchabu
// handles.output = hObject;
//
handles.field("output") = mwVa(hObject, "hObject");
//
//
// % Update handles structure
// guidata(hObject, handles);
//
ans.EqAns(Nguidata(0, mwVa(hObject, "hObject"), mwVa(handles, "handles")));
//
//
// % UIWAIT makes QQchabu wait for user response (see UIRESUME)
// % uiwait(handles.figure1);
//
//
// % --- Outputs from this function are returned to the command line.
//
}
//
// The function "Mqqchabu_QQchabu_OutputFcn" is the implementation version of
// the "qqchabu/QQchabu_OutputFcn" M-function from file
// "e:\matlab6.5\work\qqmywork\qqchabu.m" (lines 66-79). It contains the actual
// compiled code for that M-function. It is a static function and must only be
// called from one of the interface functions, appearing below.
//
//
// function varargout = QQchabu_OutputFcn(hObject, eventdata, handles)
//
static mwArray Mqqchabu_QQchabu_OutputFcn(int nargout_,
mwArray hObject,
mwArray eventdata,
mwArray handles) {
mwLocalFunctionTable save_local_function_table_
= &_local_function_table_qqchabu;
mwArray varargout = mwArray::UNDEFINED;
mwArray ans = mwArray::UNDEFINED;
mwArray z = mwArray::UNDEFINED;
//
// % varargout cell array for returning output args (see VARARGOUT);
// % hObject handle to figure
// % eventdata reserved - to be defined in a future version of MATLAB
// % handles structure with handles and user data (see GUIDATA)
//
// % Get default command line output from handles structure
// varargout{1} = handles.output;
//
varargout.cell(_mxarray0_) = mwVa(handles, "handles").field("output");
//
// z=imread('E:\matlab6.5\work\qqmywork\cartoon.bmp');
//
z = Nimread(1, NULL, NULL, mwVarargin(_mxarray14_));
//
// imshow(z)
//
ans.EqPrintAns(Nimshow(0, mwVarargin(mwVv(z, "z"))));
return varargout;
//
//
//
// % --- Executes during object creation, after setting all properties.
//
}
//
// The function "Mqqchabu_listbox1_CreateFcn" is the implementation version of
// the "qqchabu/listbox1_CreateFcn" M-function from file
// "e:\matlab6.5\work\qqmywork\qqchabu.m" (lines 79-94). It contains the actual
// compiled code for that M-function. It is a static function and must only be
// called from one of the interface functions, appearing below.
//
//
// function listbox1_CreateFcn(hObject, eventdata, handles)
//
static void Mqqchabu_listbox1_CreateFcn(mwArray hObject,
mwArray eventdata,
mwArray handles) {
mwLocalFunctionTable save_local_function_table_
= &_local_function_table_qqchabu;
mwArray ans = mwArray::UNDEFINED;
//
// % hObject handle to listbox1 (see GCBO)
// % eventdata reserved - to be defined in a future version of MATLAB
// % handles empty - handles not created until after all CreateFcns called
//
// % Hint: listbox controls usually have a white background on Windows.
// % See ISPC and COMPUTER.
// if ispc
//
if (tobool(ispc())) {
//
// set(hObject,'BackgroundColor','white');
//
ans.EqAns(
Nset(
0, mwVarargin(mwVa(hObject, "hObject"), _mxarray16_, _mxarray18_)));
//
// else
//
} else {
//
// set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
//
ans.EqAns(
Nset(
0,
mwVarargin(
mwVa(hObject, "hObject"),
_mxarray16_,
Nget(1, mwVarargin(_mxarray20_, _mxarray21_)))));
//
// end
//
}
//
//
//
// % --- Executes on selection change in listbox1.
//
}
//
// The function "Mqqchabu_listbox1_Callback" is the implementation version of
// the "qqchabu/listbox1_Callback" M-function from file
// "e:\matlab6.5\work\qqmywork\qqchabu.m" (lines 94-106). It contains the
// actual compiled code for that M-function. It is a static function and must
// only be called from one of the interface functions, appearing below.
//
//
// function listbox1_Callback(hObject, eventdata, handles)
//
static void Mqqchabu_listbox1_Callback(mwArray hObject,
mwArray eventdata,
mwArray handles) {
mwLocalFunctionTable save_local_function_table_
= &_local_function_table_qqchabu;
mwArray datal1 = mwArray::UNDEFINED;
mwArray ans = mwArray::UNDEFINED;
mwArray list1 = mwArray::UNDEFINED;
//
// % hObject handle to listbox1 (see GCBO)
// % eventdata reserved - to be defined in a future version of MATLAB
// % handles structure with handles and user data (see GUIDATA)
//
// % Hints: contents = get(hObject,'String') returns listbox1 contents as cell array
// % contents{get(hObject,'Value')} returns selected item from listbox1
// list1=get(hObject,'Value');
//
list1 = Nget(1, mwVarargin(mwVa(hObject, "hObject"), _mxarray23_));
//
// fprintf('list1');
//
ans.EqAns(Nfprintf(0, _mxarray25_, mwVarargin()));
//
// save datal1 list1
//
save(_mxarray27_, "w", "list1", list1, NULL);
//
//
// % --- Executes on button press in pushbutton1.
//
}
//
// The function "Mqqchabu_pushbutton1_Callback" is the implementation version
// of the "qqchabu/pushbutton1_Callback" M-function from file
// "e:\matlab6.5\work\qqmywork\qqchabu.m" (lines 106-113). It contains the
// actual compiled code for that M-function. It is a static function and must
// only be called from one of the interface functions, appearing below.
//
//
// function pushbutton1_Callback(hObject, eventdata, handles)
//
static void Mqqchabu_pushbutton1_Callback(mwArray hObject,
mwArray eventdata,
mwArray handles) {
mwLocalFunctionTable save_local_function_table_
= &_local_function_table_qqchabu;
mwArray ans = mwArray::UNDEFINED;
//
// % hObject handle to pushbutton1 (see GCBO)
// % eventdata reserved - to be defined in a future version of MATLAB
// % handles structure with handles and user data (see GUIDATA)
// yulan
//
yulan();
//
//
// % --- Executes during object creation, after setting all properties.
//
}
//
// The function "Mqqchabu_listbox2_CreateFcn" is the implementation version of
// the "qqchabu/listbox2_CreateFcn" M-fun
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -