view assertIsMember.m @ 793:c7c622e26a53 feature/grids

Remove old functions from multiblock package
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 25 Jul 2018 18:36:57 -0700
parents c596122374df
children
line wrap: on
line source

function assertIsMember(v, allowed)
    assert(ismember(v, allowed), 'Expected ''%s'' to be in the set %s', inputname(1), toString(allowed));
end