MATLAB Answers


How to build a simulink model from a Matlab function which calls a mex file (c.function)

Asked by Gauss
on 1 Mar 2017
Latest activity Edited by Gauss
on 1 Mar 2017
Hi everyone,
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.


Sign in to comment.


0 Answers