I'm not sure how to answer because I don't know what you want. Both bwconncomp() and regionprops() gives you the linear index of each labeled component - so just use it. If you want to get just one slice from the object, then use
cc = bwconncomp(binaryImage); % Do connected components analysis.
labeledImage = labelMatrix(cc); % Get the labeled image.
oneSlice = labeledImage(:,:,zValue); % Extract just one slice of it.
statsForOneSlice = regionprops(oneSlice, me, 'all'); % Measure the single slice.
Or something like that. Be more specific if you want better help.
