Why am I unable to use blocks from the DSP Blockset with the Embedded Target for MPC555 1.1 (R13SP1)?
2 views (last 30 days)
Show older comments
When I try to compile a model that contains a block from the DSP Blockset, I receive the following error in the MATLAB Command Window (using DIAB Compiler):
c:\matlab6p5p1\toolbox\rtw\dspblks\c\dspburg/burg_a_c_rt.c -o burg_a_c_rt.o
"c:\matlab6p5p1\toolbox\rtw\dspblks\c\dspburg/burg_a_c_rt.c",
line 55: error (dcc:1552): initializer type `creal32_T' incompatible with object type `float'
"c:\matlab6p5p1\toolbox\rtw\dspblks\c\dspburg/burg_a_c_rt.c",
line 55: error (dcc:1061): illegal cast: from 'creal32_T' to 'float'
"c:\matlab6p5p1\toolbox\rtw\dspblks\c\dspburg/burg_a_c_rt.c",
line 55: error (dcc:1486): initializer that is a brace-enclosed list may contain
only constant expressions
"c:\matlab6p5p1\toolbox\rtw\dspblks\c\dspburg/burg_a_c_rt.c",
line 56: error (dcc:1552): initializer type `creal32_T' incompatible with object type `float'
"c:\matlab6p5p1\toolbox\rtw\dspblks\c\dspburg/burg_a_c_rt.c",
line 56: error (dcc:1061): illegal cast: from 'creal32_T' to 'float'
"c:\matlab6p5p1\toolbox\rtw\dspblks\c\dspburg/burg_a_c_rt.c",
line 56: error (dcc:1486): initializer that is a brace-enclosed list may contain
only constant expressions
gmake: *** [burg_a_c_rt.o] Error 0x1
Error using ==> make_rtw
Error using ==> rtw_c
Error(s) encountered while building model "Subsystem"
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This error message is a known limitation of the Embedded Target for MPC555 1.1 (R13SP1) with a workaround. The details of the limitation and its workaround are documented in the release notes of the product that can be found at the following URL:
0 Comments
More Answers (0)
See Also
Categories
Find more on Code Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!