view getVarname.m @ 356:9567a9dd220d feature/hypsyst

The problem with the upwid operators is fixed
author Ylva Rydin <ylva.rydin@telia.com>
date Thu, 08 Dec 2016 10:52:15 +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