You haven't provided enough information to be certain of what you want, but makeing some assumptions, this should work.
s = 1:1:250;
for ii = 1:7
subSequence(ii,:) = s((ii-1)*30 + 1:ii*30);
k = randi(1000,1,10);
A = ;
for ii = 1:length(subSequence(:,1))
A(end+1,:) = subSequence(ii,:);
This builds an array containing all the subsequences that contain any values found in k. If that is what you are looking for, this works.