Simulink Real Time Workshop Generated Code Missing Include Files

I'm working on a project where we create a model in Simulink with various subsystems, use Real Time Workshop to generate C code for those subsystems, and then implement the C code on an embedded microprocessor.
The problem I'm running into is when I generate C code using RTW, some of the generated files need includes which were not given to me by RTW. These are tmwtypes.h, simstruc.h, fixedpoint.h, rt_logging.h, and simstruc_types.h. I'm wondering where I can find these files so I can add them into my C project to get it to compile.

 Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 8 Juil 2011
You can use the packNGo function to find all dependencies and package them for you. See Relocating Code to Another Development Environment.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by