MATLAB Answers

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

3 views (last 30 days)
Gauss
Gauss on 1 Mar 2017
Edited: 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.

  0 Comments

Sign in to comment.

Answers (0)

Sign in to answer this question.

Tags