view printSize.m @ 146:2ccfe80e9b58

toString: Now allows 2d cell arrays of strings.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 21 Mar 2016 16:27:19 +0100
parents 643bc513b8b8
children
line wrap: on
line source

function printSize(A)
    result = size(A);
    fprintf('size(%s) => %s\n', inputname(1), toString(result));
end