Why does my build fail due to a missing dsp_rt.h file with the Signal Processing Blockset 6.1 (R14SP2)?

14 views (last 30 days)
I have the following products installed on my machine:
MATLAB Version 7.0.4 (R14SP2)
Simulink Version 6.2 (R14SP2)
Fixed-Point Toolbox Version 1.2 (R14SP2)
Real-Time Workshop Version 6.2 (R14SP2)
Real-Time Workshop Embedded Coder Version 4.2 (R14SP2)
Signal Processing Blockset Version 6.1 (R14SP2)
Signal Processing Toolbox Version 6.3 (R14SP2)
Simulink Fixed Point Version 5.1 (R14SP2)
When I try to build, I sometimes receive errors:
Unable to find function getfilebyname in rtwmakecfg.m
reported as a warning during the creation of the make file.
Unable to find or open dsp_rt.h during compilation
reported as an nmake error during compilation.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This enhancement has been incorporated in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
We have verified that there is a bug in Signal Processing Blockset 6.1 (R14SP2) in the way that it handles code generation with a certain set of installed products. This behavior is very sporadic and only happens with certain installations.
To work around this issue, you can try either of the following:
1. Run:
rehash toolboxreset
2. Try reinstalling MATLAB and other products.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!