view test/fcn-handle-derived-resolution/@other/getsize_arrayfun.m @ 17535:c12c688a35ed default tip lyh

Fix warnings
author LYH <lyh.kernel@gmail.com>
date Fri, 27 Sep 2013 17:43:27 +0800
parents b1283d4c06c2
children
line wrap: on
line source

function r = getsize_arrayfun (x)
  r = arrayfun (@(i) numel (x(i).d), 1:numel (x), 'uniformoutput', true);
end