Connecting Hardware to MATLAB and Simulink