Using the Fixed-Point Designer™ product, you can generate:
MEX functions to accelerate fixed-point algorithms.
Fixed-point code that provides a bit-wise match to MEX function results.