Saturation occurred in lookup table

2 views (last 30 days)
Hello, i'm using Matlab 2012b. i stuck with error during simulation as Saturation occurred. error pointing to lookup table block. please suggest solution on it.
  2 Comments
ramesh Karande
ramesh Karande on 27 Dec 2012
Original contents of block error as : Saturation occurred. This originated from ' here contain path of block means Path representing Lookup table ' .

Sign in to comment.

Accepted Answer

Ilham Hardy
Ilham Hardy on 27 Dec 2012
It does sometime happenned on my model too.
What i did to 'solve'the problem is by setting the Lookup method to Interpolation - Extrapolation instead of Interpolation - End values.
And then connecting Saturation block after the Look-up table to saturate the values.
HTH, Ilham
  2 Comments
ramesh Karande
ramesh Karande on 27 Dec 2012
Thanks for suggestion. I,m using Lookup method _ to _Use Input Nearest. When i used other Lookup method, there is no issue. I know that Use Input Nearest method removed from R2012b. but i think every version show backward compactiblity. i want to know that because of this error occured, or something else is reason.
Sneha Poduri
Sneha Poduri on 3 Jul 2018
Edited: Sneha Poduri on 3 Jul 2018
For my lookup table data type for first breakpoint is fixdt(0,16,0.1,0) and second fixdt(0,16,2^-9,0) and output data type is unit16. I had selected the interpolation method to "Linear" and Extrapolation method to "clip". But still i am getting the same error.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!