www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mvgraph1d/subsasgn.m
function out=subsasgn(gr,s,in) %GRAPH1D/SUBSASGN Dot referencing interface. % Provides dot referencing interface to the set function for % graph1d object. For more information on proerties available % see GRAPH1D/SET. % Copyright 2000-2007 The MathWorks, Inc. and Ford Global Technologies, Inc. % Date: 16/9/1999 % Bail if we've not been given a graph1d object if ~isa(gr,'mvgraph1d') error(message('mbc:mvgraph1d:InvalidObject2')) end if length(s)>1 | ~strcmp(s(1).type,'.') error(message('mbc:mvgraph1d:InvalidIndex')); end out=set(gr,s.subs,in);