annotate arrows/get_subcell.m @ 6:0ce3c2070089

Removed duplicate code and fixed doc in timed_action.
author samer
date Mon, 14 Jan 2013 14:33:37 +0000
parents 672052bd81f8
children
rev   line source
samer@0 1 function V=get_subcell(A,Path)
samer@0 2 if isempty(Path), V=A;
samer@0 3 else
samer@0 4 V=get_subcell(A{Path(1)},Path(2:end));
samer@0 5 end
samer@0 6 end