I am using a Look-up Table block in my Simulink model and would like the input vector and the output vector to be tunable. I have set the input vector to be an ImportedExtern type. However, when code is generated from the model, the input vector value is being hardcoded.
I receive the following warning message while running RTW:
Warning: Reducing run-time parameter 'InputValues' of <blockname> to its numerical equivalent because the parameter is a transformation of one or more dialog parameters. You will be unable to interface to the run-time parameter in the generated code even though the corresponding dialog parameters map to variables (<variablename>(base workspace)) that are either (a) tunable variables, or (b) variables that are input arguments to the system containing the block.
Best Answer