I guess previous poster had
MATLAB coder tool on his mind. I used this one sparingly. As with any source-to-source translator, it's hard to get maximum performance out of the generated code, and going for better performance is typically the main reason for considering translation. Still, MATLAB tools (including
HDL Coder) are decent in that regard, so it boils down to trying for yourself for given piece of Matlab code, and checking is generated code OK for your purposes.