Error during Simulink Code Generation. The library file /home/user/wkspaces/SimulinkProject/slprj/ert/dataSelector_ref/dataSelector_ref_rtwlib.lib does not exist.
Show older comments
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
Answers (0)
Categories
Find more on Embedded Coder 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!