mars_tag
PURPOSE
returns, or sets, Mars tagging structure in design
SYNOPSIS
function res = mars_tag(o, data)
DESCRIPTION
CROSS-REFERENCE INFORMATION
This function calls:
- data method to get or set data object
- isfield method to overload isfield for mardo objects
This function is called by:
- mardo mardo - class constructor for MarsBaR design object
SOURCE CODE
0001 function res = mars_tag(o, data)
0002
0003
0004
0005
0006 if nargin > 1
0007 res = o;
0008 res.des_struct.xMars = data;
0009 return
0010 end
0011
0012 if isfield(o.des_struct, 'xMars')
0013 res = o.des_struct.xMars;
0014 else
0015 res = [];
0016 end
Generated on Wed 11-May-2022 16:26:09 by m2html © 2003-2019