MATLAB Answers


Use of integrator in Simulink

Asked by Tan Edwin on 15 Feb 2011
Latest activity Answered by Vineet Kumar on 1 Sep 2016
Im trying to find the area under the graph (called it graph A) from simulink graph A looks something like this: <a><[IMG][/IMG][/URL]</a>> (Sry dunno how to show image. Graph A looks sthing like a normally distributed curve)
but when i use an integrator from simulink, the graph i obtained showed a negative valuefor the initial part. There is no negative value for graph A. So is there something wrong with my method?


Show 1 older comment
Tan Edwin on 15 Feb 2011
4) i want to use inherited time so that the output from the s-function appear as a continuous curve instead of a step shape graph
What happens when you set continuous sample time for your S-function: [0 0]
In the Diagnostics>Data Validity pane of configuration parameters, try setting 'Underspecified initialization detection' to 'Simplified'.

Sign in to comment.

1 Answer

Answer by Vineet Kumar on 1 Sep 2016

The Integrator block outputs the value of the integral of its input signal with respect to time.
The Integrator Limited block is identical to the Integrator block with the exception that the output of the block is limited based on the upper and lower saturation limits. See Limiting the Integral for details.
Simulink® treats the Integrator block as a dynamic system with one state.


Sign in to comment.