view getVarname.m @ 750:43e64f5b388e feature/grids

Add missing semicolon in multiblock.Laplace
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 04 Jun 2018 17:48:19 +0200
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