rtwtypes.h not created

I am trying generate code from simulink model for texas instrument c2000 DSP. While code generation i got an error stating "rtwtypes.h not created". How to overcome this problem?

5 Comments

I have the same symptom (rtwtypes.h is not created).
But the error I get is from the compiler when it attempts to:
#include "rtwtypes.h"
from the successfully generated files.
Venkatesh Chilapur
Venkatesh Chilapur on 29 Oct 2018
Moved: Walter Roberson on 30 Dec 2025
Please can you give details on MATLAB version, supported package details(if any ) and model being used for code generation.
vibhorag
vibhorag on 24 Jun 2019
Moved: Walter Roberson on 30 Dec 2025
Hi Venkatesh,
I am facing the same problem. I am using the model mentioned on this link: https://in.mathworks.com/help/rtw/gs/model-and-simulation.html
I am using the Matlab version: R2019a ('9.6.0.1114505 (R2019a) Update 2')
Craig
Craig on 30 Dec 2025
Moved: Walter Roberson on 30 Dec 2025
Any updates on this? Also experiencing in 2022b
Craig
Craig on 30 Dec 2025
It seems that under certain conditions rtwtypes.h gets moved to \slprj\*TARGET*\_sharedutils. How can we always include it with the model source?

Sign in to comment.

Categories

Find more on Embedded Coder in Help Center and File Exchange

Asked:

on 21 Mar 2014

Commented:

on 30 Dec 2025

Community Treasure Hunt

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

Start Hunting!