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.

 채택된 답변

Kaustubha Govind
Kaustubha Govind 2011년 7월 8일

0 개 추천

You can use the packNGo function to find all dependencies and package them for you. See Relocating Code to Another Development Environment.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by