Mercurial > repos > public > sbplib
view stuffStruct.m @ 980:a3accd2f1283 feature/getBoundaryOp
Make mutliblock.DiffOp.getBoundaryOperator/Quadrature use scheme methods instead of properties.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Mon, 07 Jan 2019 17:07:35 +0100 |
parents | 7ea4b6de59d9 |
children |
line wrap: on
line source
function s = stuffStruct(varargin) s = struct(); for i = 1:nargin assert(~isempty(inputname(i)), 'All inputs must be variables.'); s.(inputname(i)) = varargin{i}; end end