MATLAB: Do I receive an error message about missing pre-compiled libraries when I build the model for Embedded Target for Motorola MPC555 2.0.5 (R2006b)

Target Support Package FM5

My model contains blocks from the Signal Processing Blockset, like the Digital Filter block. When I try to build my model for the Embedded Target for Motorola MPC555 I get the following error message and the build process aborts:
??? Error using ==> rtw_c.p>locMissingPrecompMsg
There are pre-compiled libraries missing from the TargetPreCompLibLocation:
C:\Program Files\MATLAB\R2006b\toolbox\rtw\targets\mpc555dk\drivers\lib\DIAB
missing libraries:
C:\Program Files\MATLAB\R2006b\toolbox\rtw\targets\mpc555dk\drivers\lib\DIAB\dsp_rt.a

Best Answer

The Signal Processing Blockset is configured to use a pre-compiled library that contains the functionality for all blocks in this blockset.
The pre-compiled library is target dependent and for the Embedded Target for Motorola MPC555 2.0.5 (R2006b), there is no library shipped with the product.
You can easily create the library once and then use it with different models. Open the model you want to build for MPC555. execute the following commands at MATLAB prompt:
buildSpec.rtwmakecfgDirs = {[matlabroot '\toolbox\dspblks\dspmex']};
rtw_precompile_libs(bdroot,buildSpec);
clear buildSpec
Note: Compiling and linking this library might take a couple of minutes, as there are a lot of functions included in the library.
For more details refer to the following Bug Report: