⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 inherit.m

📁 任意边界结构正交曲线网格生成程序
💻 M
字号:
function [varargout] = inherit(theMethod, self, varargin)% inherit -- Inherit a superclass method.%  [varargout] = inherit('theMethod', self, varargin) calls%   the superclass 'method' of self, an object, with the%   given input and output arguments.  The routine%   climbs the inheritance tree if needed.  (Multiple%   inheritance is not supported here.) % Copyright (C) 1999 Dr. Charles R. Denham, ZYDECO.%  All Rights Reserved.%   Disclosure without explicit written consent from the%    copyright owner does not constitute publication. % Version of 07-Dec-1999 22:50:19.% Updated    08-Dec-1999 11:31:36.if nargin < 2, help(mfilename), return, endif ~isobject(self), return, end% Clean up the name of the method.f = find(theMethod =='/');if any(f), theMethod(1:f(end)) = ''; endtheSuperObject = super(self);varargout = cell(1, nargout);varargin = [{theMethod}; varargin(:)];while isobject(theSuperObject)	varargin{1} = theSuperObject;	try		if nargout > 0			[varargout{:}] = feval(theMethod, varargin{:});		else			feval(theMethod, varargin{:})		end	catch	end   theSuperObject = super(theSuperObject);end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -