view getVarname.m @ 908:ecfccf236af0 feature/utux2D

Add helper function nonConformingInterfaceOptions that creates an InterfaceOptions object that specifies which interpolation operators are used where.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 23 Nov 2018 20:14:16 -0800
parents 289fd8b1635c
children
line wrap: on
line source

function names = getVarname(varargin)
    names = cell(size(varargin));

    for i = 1:numel(varargin)
        names{i} = inputname(i);
    end
end