Mercurial > repos > public > sbplib
view default_field.m @ 424:37649ef3fc6e feature/beams
Close branch feature/beams. It was poisoned by changes that belonged on feature/grids
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 07 Feb 2017 16:08:26 +0100 |
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