view getVarname.m @ 633:6f4eb3da8978 bugfix/TiVectorInputs

Flip input and outputs if they are columnvectors.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 23 Oct 2017 16:29:52 +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