missing headers and typedef in code generated by embedded coder from Simulink

12 次查看(过去 30 天)
I build my simulink model and got some cpp source codes and header but whenever I try to build them with Visual studio project in irder to get some dlls I get that some header can not be found, there are also some typedef like "int32_T" that son't exist, how to add them?
int16_T rtb_NCO_o1;
int16_T rtb_NCO_o2;
int32_T ditherVal;
uint32_T tmpReg;
uint32_T tmpReg_0;
int32_T n;
int32_T i;
boolean_T sinPos;
boolean_T cosPos;
and
#include "simstruc.h"
#include "fixedpoint.h"
#include "rt_logging.h"

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2013-5-1
Please see this blog post to see how you can collect all the required header/library files.

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by