MATLAB: Do I get an error when using the Lookup Table blocks with the GetSet custom storage class in Real-Time Workshop Embedded Coder 5.5 (R2010a)

Embedded Coder

I am using the "Direct Lookup Table (n-D)" and "Lookup Table Dynamic" blocks with the GetSet custom storage class in my model. When I try to generate code from the model, I get the following error:
Error: Real-Time Workshop Error: Parameter 'Param3' is not addressable because of its custom storage class.

Best Answer

The Lookup Table blocks are currently incompatible with the GetSet custom storage class in Real-Time Workshop Embedded Coder 5.5 (R2010a).
To work around the issue, please follow the workaround suggested in our documentation here:
<http://www.mathworks.com/help/releases/R2010a/toolbox/ecoder/ug/f29488.html#bsfvvot-1>