Why do I receive an error that the file 'dsp_rt.h' could not be opened when generating code with MotoHawk™ ECU-based rapid prototyping system Version 0.8.0 using blocks from the DSP Blockset with Real-Time Workshop Embedded Coder 3.0 (R13)?
Show older comments
I am using the Polyfit block from the DSP Blockset in my Simulink model. Although the model runs fine in the simulation mode, I am unable to generate code using Real-Time Workshop Embedded Coder for my MotoHawk™ ECU (Electronic Control Unit)-based rapid prototyping system. I receive the following error message in the MATLAB Command Window during the build process:
ERROR: "C:\MATLAB6p5\work\combustion_control\nn_6_Build\nn_6_private.h", line 45: catastrophic error #5:
could not open source file "dsp_rt.h"
I have checked and dsp_rt.h is installed in the correct directory (MATLABROOT\toolbox\dspblks\include, where MATLABROOT is the MATLAB installation directory) and that this directory is on my MATLAB path.
Accepted Answer
More Answers (0)
Categories
Find more on C Code Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!