view getVarname.m @ 1079:ae4b090b5299

Bugfix missing semi-colon in Laplace1d.
author Martin Almquist <malmquist@stanford.edu>
date Wed, 20 Feb 2019 16:14:15 -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