I have a simulink matlab function say mfun which inside calls a c function say cfun.c. With the command coder.extrinsic('cfun') put before I call cfun, I can run my simulink block but I can not build a model. I get the message cfun is not available for standalone code generation. Is it possible to overpass this problem? Thanks a lot for your help.