annotate toolboxes/MIRtoolbox1.3.2/MIRToolbox/@mirdata/isframed.m @ 0:cc4b1211e677 tip

initial commit to HG from Changeset: 646 (e263d8a21543) added further path and more save "camirversion.m"
author Daniel Wolff
date Fri, 19 Aug 2016 13:07:06 +0200
parents
children
rev   line source
Daniel@0 1 function b = isframed(d)
Daniel@0 2
Daniel@0 3 dat = get(d,'Data');
Daniel@0 4 b = 0;
Daniel@0 5 i = 0;
Daniel@0 6 while not(b) && i < length(dat)
Daniel@0 7 i = i+1;
Daniel@0 8 j = 0;
Daniel@0 9 while not(b) && j < length(dat{i})
Daniel@0 10 j = j+1;
Daniel@0 11 if size(dat{i}{j},2) > 1
Daniel@0 12 b = 1;
Daniel@0 13 end
Daniel@0 14 end
Daniel@0 15 end