資源簡介
matlab汽車理論-auto_theory.m
matlab 汽車理論參數 5圖 繪制
matlab 汽車理論參數 5圖 繪制
代碼片段和文件信息
function?varargout?=?auto_theory(varargin)
%?AUTO_THEORY?M-file?for?auto_theory.fig
%??????AUTO_THEORY?by?itself?creates?a?new?AUTO_THEORY?or?raises?the?existing
%??????singleton*.
%
%??????H?=?AUTO_THEORY?returns?the?handle?to?a?new?AUTO_THEORY?or?the?handle?to
%??????the?existing?singleton*.
%
%??????AUTO_THEORY(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?AUTO_THEORY.M?with?the?given?input?arguments.
%
%??????AUTO_THEORY(‘Property‘‘Value‘...)?creates?a?new?AUTO_THEORY?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?auto_theory_OpeningFunction?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?auto_theory_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?auto_theory
%?Last?Modified?by?GUIDE?v2.5?02-Nov-2010?13:16:07
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@auto_theory_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@auto_theory_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?auto_theory?is?made?visible.
function?auto_theory_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?auto_theory?(see?VARARGIN)
%?Choose?default?command?line?output?for?auto_theory
handles.output?=?hobject;
%?Update?handles?structure
guidata(hobject?handles);
%?UIWAIT?makes?auto_theory?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);
handles.a=[600?4000?2000?1800?3880?0.367?0.013?2.77?5.83?0.218?1.798?3.598?0.85?3.2?1.947?0.9];
handles.b=[6.09?3.09?1.71?1.00];
handles.c=[5.56?2.769?1.644?1.00?0.793];
set(handles.edit1‘string‘num2str(handles.a(1)))
set(handles.edit2‘string‘num2str(handles.a(2)))
set(handles.edit3‘string‘num2str(handles.a(3)))
set(handles.edit4‘string‘num2str(handles.a(4)))
set(handles.edit5‘string‘num2str(handles.a(5)))
set(handles.edit6‘string‘num2str(handles.a(6)))
set(handles.edit7‘string‘num2str(handles.a(7))
評論
共有 條評論