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

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
rev   line source
wolffd@0 1 function b = isframed(d)
wolffd@0 2
wolffd@0 3 dat = get(d,'Data');
wolffd@0 4 b = 0;
wolffd@0 5 i = 0;
wolffd@0 6 while not(b) && i < length(dat)
wolffd@0 7 i = i+1;
wolffd@0 8 j = 0;
wolffd@0 9 while not(b) && j < length(dat{i})
wolffd@0 10 j = j+1;
wolffd@0 11 if size(dat{i}{j},2) > 1
wolffd@0 12 b = 1;
wolffd@0 13 end
wolffd@0 14 end
wolffd@0 15 end