I am trying to build a large model that contains several referenced models. One of those referenced models contains a FIS. When I build just the referenced model with the FIS it works very well. However, when I move up to the main model and then try to build, the RTW code generator gives the following error:
Error using ==> rtwgen Invalid parameters for S-function 'Test_FIS_RefModel/Fuzzy Logic Controller1/FIS S-function'. For Real-Time Workshop, S-function parameters must be numeric or char array and only 1 and 2-d non-sparse arrays are supported.
Best Answer