Error in 'withoutCO​MPexpFUNC/​MATLAB Function2' while executing C MEX S-function 'sf_sfun', (mdlSetWorkWidths), at time 0.0.

7 views (last 30 days)
I want to use TMS320F2808 that integrate with TYPHOON HIL 400.
Im using MATLAB 2016b and CCS V6 in order to download the program into f2808.
The problem is, when i try to build the system using matlab, i am experiencing this error "Error in 'withoutCOMPexpFUNC/MATLAB Function2' while executing C MEX S-function 'sf_sfun', (mdlSetWorkWidths), at time 0.0.
Can someone help me.
Thank you,
  1 Comment
Frédéric Naud-Dulude
Frédéric Naud-Dulude on 6 Nov 2018
I have the same issue.
Issue only occurs when the subsustem in question is linked to a library block. When I break link, it works fine.
Anyone know the root cause?

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!