Programming Low-Cost Hardware with Simulink