Problem with matlab code generator, ode45.c file error with rsim.tlc target

Hello,
I’m trying to generate code from the absbrake demo ( http://www.mathworks.com/products/simulink/examples.html?file=/products/demos/shipping/simulink/sldemo_absbrake.html) and I’m using the rsim.tlc target. But I’m having some problems with the code generation.
At the end of the code generation gives me an error/warning “Catastrophic error #1696: cannot open source file "ode45.c"Compilation terminated.” (error log: https://dl.dropboxusercontent.com/u/13427263/error_log.txt). Despite this, the files were successfully (I think) generated.
Now I’m trying to Build a project using the Matlab generated code, but it gives me and error in “simstruc.h” file: “#error Unrecognized use."
Can anyone help me? How can I solve my problem?
Btw: I’m using the Code Composer Studio IDE, it’s a kind of a plug-in for eclipse to create projects for the Stellaris EK-LM3SB90 Board.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품

질문:

2013년 5월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by