I am using the legacy code tool to add legacy code to my Simulink model. When I try to generate the mex function with the command
legacy_code('sfcn_cmex_generate', def);
I get the following error message:
??? Error using ==> lct\private\pParseFcnSpec
Argument 'single c1' not recognized (in expression: 'single y1 = filter(single u1[1], single c1, single c2)').
Best Answer