MATLAB: Is there an error when using the LINMOD command on a model that contains a Prelookup Index Search Block in Simulink 6.1 (R14SP1)

dlinmodfractioninvalidlinmodlookupprelookupr14sp1simulinkvalues

I am trying to use LINMOD on a model that contains Prelookup Index Search Blocks in conjunction with an Interpolation (n-D) Using PreLookup Block. When I execute the LINMOD command, I receive the following warning message:
Warning: block 'linmod_prelookup_test/Look-Up': Invalid fraction value: for index values (k) set to an interior index (not 0 and not max-1), fraction must be on the semi-closed interval [0.0, 1.0)
> In dlinmod at 204
In linmod at 54
Although a linear model is produced, it is not accurate.

Best Answer

This bug has been fixed in Release 14 Service Pack 2 (R14SP2).
For previous releases, there are no workarounds.