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

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.

카테고리

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

태그

질문:

2013년 4월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by