I am currently working with MDF file(.mf4) in MATLAB and I don't want to see the ChannelNumsamples that contain no values or lets say zero values so how to do that? I have tried with this code. but it is not helping me to extract nonzeroes elements.
cc = table2array(dd(1,:))
if table2array(A(x,"ChannelGroupNumSamples")) >= 0
disp('YES');
A(x,3)
size(cc);
else disp('nodata')
numel(cc)
Elements = sum(cc ~= 0)
elementscount = nonzeros(Elements)
end