I solved the problem by copying the target references block from the top module to the referenced model "fuelsys_pil". But here comes the new error:
"fuelsys_ctr" cannot be simulated in PIL mode because it is not compatible with any available connectivity configuration. Available connectivity configurations are: Analog Devices VisualDSP++, Eclipse (IDE), Eclipse (TCP/IP), Texas Instruments Code Composer Studio (IDE), Texas Instruments Code Composer Studio (TCP/IP), Texas Instruments Code Composer Studio (Serial), WRWorkbench (you can view details in the MATLAB Command Window by clicking the hyperlinks). The model's configuration parameters (SystemTargetFile, TemplateMakefile, TargetHWDeviceType, IDE Link settings) were checked for compatibility against these connectivity configurations but no match was found. To use connectivity configurations provided by IDE Link, configure the model as described in the documentation. To automatically configure the model for PIL see cgv.Config.
All setup for the model configuration is setted accroding to the Mathworks example.How can I solve this problem?