Error during Simulink Code Generation. The library file /home/user​/wkspaces/​SimulinkPr​oject/slpr​j/ert/data​Selector_r​ef/dataSel​ector_ref_​rtwlib.lib does not exist.

Hi,
I am trying to use code generation on a a simulink model composed from reference models. The system target file is ert.tlc and the language is c++
When I generate the code for each reference model separately, I don't get any error, but when using the parent model I get this error:
### Invoking Target Language Compiler on trajectoryValidator_parent.rtw
### Using System Target File: /usr/local/MATLAB/R2018b/rtw/c/ert/ert.tlc
### Loading TLC function libraries
### Initial pass through model to cache user defined code
.
### Caching model source code
### Writing header file trajectoryValidator_parent_types.h
### Writing header file trajectoryValidator_parent.h
### Writing source file trajectoryValidator_parent.cpp
### Writing header file trajectoryValidator_parent_private.h
.
### Writing header file rtmodel.h
### Writing source file ert_main.cpp
### TLC code generation complete.
### Evaluating PostCodeGenCommand specified in the model
### Build procedure for model: 'trajectoryValidator_parent' aborted due to an error.
The library file /home/user/wkspaces/SimulinkProject/slprj/ert/dataSelector_ref/dataSelector_ref_rtwlib.lib does not exist.
What can I do to solve this? Thank you

답변 (0개)

카테고리

도움말 센터File Exchange에서 Embedded Coder에 대해 자세히 알아보기

질문:

2019년 3월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by