91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡(jiǎn)介

用MATLAB的GUI工具開(kāi)發(fā)出的電力系統(tǒng)潮流計(jì)算軟件,運(yùn)行方式有兩種:直接在matlab命令窗口敲入名字,或轉(zhuǎn)為exe再運(yùn)行。包含三個(gè)測(cè)試算例,均為《電力系統(tǒng)分析》課本上的例題,驗(yàn)證正確。測(cè)試環(huán)境為MATLAB 2009a與2012b.本代碼為華科電氣電分課設(shè)作品,僅供參考學(xué)習(xí)。

資源截圖

代碼片段和文件信息

function?varargout?=?keshe(varargin)
%?KESHE?M-file?for?keshe.fig
%??????KESHE?by?itself?creates?a?new?KESHE?or?raises?the?existing
%??????singleton*.
%
%??????H?=?KESHE?returns?the?handle?to?a?new?KESHE?or?the?handle?to
%??????the?existing?singleton*.
%
%??????KESHE(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?KESHE.M?with?the?given?input1?arguments.
%
%??????KESHE(‘Property‘‘Value‘...)?creates?a?new?KESHE?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?keshe_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?keshe_OpeningFcn?via?varargin.
%
%??????*See?GUI?Options?on?GUIDE‘s?Tools?menu.??Choose?“GUI?allows?only?one
%??????instance?to?run?(singleton)“.
%
%?See?also:?GUIDE?GUIDATA?GUIHANDLES

%?Edit?the?above?text?to?modify?the?response?to?help?keshe

%?Last?Modified?by?GUIDE?v2.5?13-Jun-2012?20:59:35

%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@keshe_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@keshe_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
%?End?initialization?code?-?DO?NOT?EDIT


%?---?Executes?just?before?keshe?is?made?visible.
function?keshe_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?keshe?(see?VARARGIN)

%?Choose?default?command?line?output?for?keshe
handles.output?=?hobject;
handles.imagz=zeros(1515);?%初始化參數(shù)矩陣,防止調(diào)用未定義矩陣出錯(cuò)
handles.g_z=zeros(12);
handles.g_v=zeros(11);
handles.louy=zeros(12);
handles.q=1;???%q為接地漏抗在讀入矩陣中最大行數(shù)
set(handles.startn‘String‘‘1‘);?%設(shè)置顯示序號(hào)默認(rèn)值
set(handles.endn‘String‘‘1‘);??
set(handles.fadiann‘String‘‘1‘);?
set(handles.loukangnn‘String‘‘1‘);
setHvisible(handles1[23])??%設(shè)置最初顯示電流I矩陣
%?Update?handles?structure
guidata(hobject?handles);

%?UIWAIT?makes?keshe?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);


%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?keshe_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?de

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-04-19?09:24??測(cè)試案例\
?????文件?????????103??2012-06-13?22:31??測(cè)試案例\test1.csv
?????文件?????????138??2012-06-13?22:40??測(cè)試案例\test2.csv
?????文件??????????63??2012-06-13?22:42??測(cè)試案例\test3.csv
?????目錄???????????0??2014-04-19?09:25??源代碼_如欲測(cè)試將其移入cd\
?????文件???????13767??2014-05-18?20:57??源代碼_如欲測(cè)試將其移入cd\keshe.fig
?????文件???????31177??2012-06-13?22:28??源代碼_如欲測(cè)試將其移入cd\keshe.m
?????文件?????????386??2012-04-01?20:54??gui轉(zhuǎn)exe.txt

評(píng)論

共有 條評(píng)論