Mercurial > repos > public > sbplib
view stuffStruct.m @ 1212:5c5815af4b7a feature/poroelastic
Add new implementation of Laplace curvilinear
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Mon, 14 Oct 2019 13:49:50 -0700 |
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