Why am I getting a build error regarding library code reuse when using Simulink Coder in MATLAB R2022b?
Show older comments
I am using MATLAB R2022b to run a script that generates code using Simulink Coder. However, I get an error that starts with:
Error using tlc_c
Subsystem 'Model/Subsystem/Block_name' is linked to a library block that specifies
a token '$R' in its function name. Using this token in the function name is supported only
if the model subsystem reuses library code. This subsystem does not reuse library code.
How do I resolve this error?
Accepted Answer
More Answers (0)
Categories
Find more on Simulink 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!