hello
why not do it with a matlab script ? there are tons of code already available for that purpose - whereas I doubt that there is a ready to use simulink block for that job
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!