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

12 visualizzazioni (ultimi 30 giorni)
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"

Risposte (1)

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

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by