view 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
line wrap: on
line source
function V=get_subcell(A,Path)
	if isempty(Path), V=A;
	else
		V=get_subcell(A{Path(1)},Path(2:end));
	end
end