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

  • 大小: 11KB
    文件類型: .m
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2021-05-12
  • 語言: Matlab
  • 標(biāo)簽: matlab??gui??

資源簡介

matlab運行過程中出現(xiàn)的將gui_mainfcn.m作為函數(shù)錯誤的解決,下載該附件并且覆蓋原來的就可以了。

資源截圖

代碼片段和文件信息

function?varargout?=?gui_mainfcn(gui_State?varargin)
%?GUI_MAINFCN?Support?function?for?creation?and?callback?dispatch?of?GUIDE?GUIs.?
%???GUI_MAINFCN?is?called?from?inside?MATLAB?code?files?generated?by?GUIDE?to?handle
%???GUI?creation?layout?and?callback?dispatch.
%
%???See?also:?GUIDE.

%???GUI_MAINFCN?provides?these?command?line?APIs?for?dealing?with?GUIs
%
%??????UNtitleD?by?itself?creates?a?new?UNtitleD?or?raises?the?existing
%??????singleton*.
%
%??????H?=?UNtitleD?returns?the?handle?to?a?new?UNtitleD?or?the?handle?to
%??????the?existing?singleton*.
%
%??????UNtitleD(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?UNtitleD.M?with?the?given?input?arguments.
%
%??????UNtitleD(‘Property‘‘Value‘...)?creates?a?new?UNtitleD?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs
%??????are
%??????applied?to?the?GUI?before?untitled_OpeningFunction?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?untitled_OpeningFcn?via?varargin.
%
%??????*See?GUI?Options?on?GUIDE‘s?Tools?menu.??Choose?“GUI?allows?only?one
%??????instance?to?run?(singleton)“.

%???Copyright?1984-2015?The?MathWorks?Inc.

gui_StateFields?=??{‘gui_Name‘
????‘gui_Singleton‘
????‘gui_OpeningFcn‘
????‘gui_OutputFcn‘
????‘gui_LayoutFcn‘
????‘gui_Callback‘};
gui_Mfile?=?‘‘;
for?i=1:length(gui_StateFields)
????if?~isfield(gui_State?gui_StateFields{i})
????????error(message(‘MATLAB:guide:StateFieldNotFound‘?gui_StateFields{?i?}?gui_Mfile));
????elseif?isequal(gui_StateFields{i}?‘gui_Name‘)
????????gui_Mfile?=?[gui_State.(gui_StateFields{i})?‘.m‘];
????end
end

numargin?=?length(varargin);

if?numargin?==?0
????%?UNtitleD
????%?create?the?GUI?only?if?we?are?not?in?the?process?of?loading?it
????%?already
????gui_Create?=?true;
elseif?local_isInvokeActiveXCallback(gui_State?varargin{:})
????%?UNtitleD(ACTIVEX...)
????vin{1}?=?gui_State.gui_Name;
????vin{2}?=?[get(varargin{1}.Peer?‘Tag‘)?‘_‘?varargin{end}];
????vin{3}?=?varargin{1};
????vin{4}?=?varargin{end-1};
????vin{5}?=?guidata(varargin{1}.Peer);
????feval(vin{:});
????return;
elseif?local_isInvokeHGCallback(gui_State?varargin{:})
????%?UNtitleD(‘CALLBACK‘hobjecteventDatahandles...)
????gui_Create?=?false;
else
????%?UNtitleD(...)
????%?create?the?GUI?and?hand?varargin?to?the?openingfcn
????gui_Create?=?true;
end

if?~gui_Create
????%?In?design?time?we?need?to?mark?all?components?possibly?created?in
????%?the?coming?callback?evaluation?as?non-serializable.?This?way?they
????%?will?not?be?brought?into?GUIDE?and?not?be?saved?in?the?figure?file
????%?when?running/saving?the?GUI?from?GUIDE.
????designEval?=?false;
????if?(numargin>1?&&?ishghandle(varargin{2}))
????????fig?=?varargin{2};
????????while?~isempty(fig)?&&?~ishghandle(fig‘figure‘)
????????????fig?=?get(fig‘parent‘);
????????end
????????
????????designEval?=?isappdata(0‘CreatingGUIDEFigure‘)?||?(is

評論

共有 條評論