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 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!