varargout{1:nargout}\] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before DSP is made visible.
function DSP_OpeningFcn(hObject, eventdata, handles, varargin)
% 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 DSP (see VARARGIN)
% Choose default command line output for DSP
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes DSP wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = DSP_OutputFcn(hObject, eventdata, handles)
% 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;
function generations_Callback(hObject, eventdata, handles)
% hObject handle to generations (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of generations as text
% str2double(get(hObject,'String')) returns contents of generations as a double
## ****🎉3**** ****参考文献****
> 文章中一些内容引自网络,会注明出处或引用为参考文献,难免有未尽之处,如有不妥,请随时联系删除。
\[1\]言宇.基于改进遗传算法的配电网最优无功补偿研究\[D\].湖南大学,2006.DOI:10.7666/d.y893111.
\[2\]张亚璇,严萃群,唐巍,等.基于改进遗传算法的新建变电站中压配电网规划\[J\].电力系统保护与控制, 2011, 39(4):6.DOI:10.3969/j.issn.1674-3415.2011.04.013.
## [🌈](https://mp.weixin.qq.com/mp/appmsgalbum?__biz=Mzk0MDMzNzYwOA==&action=getalbum&album_id=2591810113208958977#wechat_redirect "🌈")****4 Matlab代码实现****