In the MATLAB evironment, you could use a System object, dsp.FIRDecimator for example.
Specify your FIR filter as the numerator property of the System object.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!