SUBSASGN define index assignment for analysis object properties. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: SUBSASGN define index assignment for analysis object properties. EXAMPLES: All possible assignments are possible. VERSION: $Id: subsasgn.m,v 1.3 2007/10/22 11:58:47 ingo Exp $ HISTORY: 31-01-07 M Hewitson Creation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 function A = subsasgn(A, S, B) 0002 % SUBSASGN define index assignment for analysis object properties. 0003 % 0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0005 % 0006 % DESCRIPTION: SUBSASGN define index assignment for analysis object properties. 0007 % 0008 % EXAMPLES: All possible assignments are possible. 0009 % 0010 % VERSION: $Id: subsasgn.m,v 1.3 2007/10/22 11:58:47 ingo Exp $ 0011 % 0012 % HISTORY: 31-01-07 M Hewitson 0013 % Creation 0014 % 0015 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0016 0017 VERSION = '$Id: subsasgn.m,v 1.3 2007/10/22 11:58:47 ingo Exp $'; 0018 0019 h = history('set', VERSION, plist(S(end).subs, B)); 0020 h = set(h, 'inhists', A.hist); 0021 h = set(h, 'invars', cellstr(inputname(1))); 0022 0023 A.hist = h; 0024 0025 A = builtin ('subsasgn', A, S, B); 0026 0027 % END