Global Index (short | long) | Local contents | Local Index (short | long)
theResult = get_coord(self);
theCoord = get_coord(nc); get_coord(nc) returns teh coordinate variables of 'nc'.
This function calls | |
---|---|
function theResult = get_coord(self); if nargin < 1, help(mfilename), return, end vars = cell(size(var(self))); nvars = length(vars); for i = nvars:-1:1; vars{i} = var(self, i); if ~iscoord(vars{i}); vars(i) = []; end end if nargout > 0 theResult = cell(size(vars)); theResult = vars; else for i = 1:length(vars) disp(name(vars{i})) end end