MATLAB: Rate Limiter Block ignores the Initial Condition

simulink

Why does the Rate Limiter block in my model seem to ignore the initial condition I specify in the block parameters?

Best Answer

The Rate Limiter block ignores the initial condition if the sample time of the block is continuous. Instead, it will simply pass the initial value of the input. The sample time must be discrete for the Rate Limiter block to enforce the initial condition parameter. See documentation page for Rate Limiter block for more information:
As a workaround, you can specify the initial value of any signal with the IC block (see documentation link below).