MATLAB: Simulink integrator block initial conditions

simulinksimulink integrator block

Hi, How does one specify initial conditions in simulink integrator block for times not t= 0 for example, y(3) =5;

Best Answer

utilize the "External reset" (set as rising) and "Initial ocndition source" (set as external).
Compare clock with t=3 and make it as the "External reset" signal.