Vb6 Timer Function Matlab Simulink