Generated C-Code of Stateflow convert to mex sfunction file
1 view (last 30 days)
Show older comments
Hello, I'm using Matlab R2011b. I tried to generate code of a stateflow model. The Stateflow model ist a normal light Switch. I'm using rtwsfcn.tlc as the target for c-code generation. After this I would like to convert it.
if true
>> mex Chart_sf.c
Writing library for Chart_sf.mexw32
c:\temp\mex_jwrlet\chart_sf.obj .text: undefined reference to '_rtGetNaN'
c:\temp\mex_jwrlet\chart_sf.obj .text: undefined reference to '_rtGetNaNF'
c:\temp\mex_jwrlet\chart_sf.obj .text: undefined reference to '_rtGetInf'
c:\temp\mex_jwrlet\chart_sf.obj .text: undefined reference to '_rtGetInfF'
c:\temp\mex_jwrlet\chart_sf.obj .text: undefined reference to '_rtGetMinusInf'
c:\temp\mex_jwrlet\chart_sf.obj .text: undefined reference to '_rtGetMinusInfF'
C:\PROGRA~2\MATLAB\R2011B\BIN\MEX.PL: Error: Link of 'Chart_sf.mexw32' failed.
Error using mex (line 206)
Unable to complete successfully.
How coud I fixed this Problem? Thanks for any help
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!