Mercurial > repos > public > sbplib
view default_field.m @ 650:8e55298657b9 feature/d1_staggered
Add characteristic BC
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Wed, 15 Nov 2017 14:56:52 -0800 |
parents | 14bf01b7a068 |
children | 50cafc4b9e40 |
line wrap: on
line source
function default_field(s, f, val) if isfield(s,f) return end s.(f) = val; assignin('caller', inputname(1),s); end