Arduino and beyond: Embedding MATLAB and Simulink algorithms on hardware