www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mvgraph4d/subsref.m
function out=subsref(gr,s) %SUBSREF % Provides dot referencing interface for graph4d object. % Copyright 2000-2007 The MathWorks, Inc. and Ford Global Technologies, Inc. % Bail if we've not been given a graph4d object if ~isa(gr,'mvgraph4d') error(message('mbc:mvgraph4d:InvalidObject3')) end if length(s)>1 | ~strcmp(s(1).type,'.') error(message('mbc:mvgraph4d:InvalidIndex')); end out=get(gr,s.subs);