view getVarname.m @ 875:5b06d4afa732

Add grid for just a collection of nodes
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 01 Nov 2018 14:10:47 +0100
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