Clear Filters
Clear Filters

Cannot find library called 'tllib'

84 views (last 30 days)
Shiwani
Shiwani on 1 Dec 2023
Answered: Ayush Anand on 13 Dec 2023
Hi,
I am trying to run a simulink model which is integrated with a internal user defined libraries. Upon adding the internal defined libraries, I can see targetlink blocks have an error of "Cannot find library called 'tllib'.
To resolve this issue I tried installing dspace targetlink manager but still the tllib cannot be found pops up.
Can anyone support me on this?

Answers (1)

Ayush Anand
Ayush Anand on 13 Dec 2023
Hi Shiwani,
The error message "Cannot find library called 'tllib'" suggests that Simulink is unable to locate the TargetLink library(“tllib”), which is required for TargetLink blocks to function correctly. Here are a few possible steps you can take to troubleshoot and resolve this issue:
  1. Verify TargetLink Installation and set Path to TargetLink Library: Ensure that TargetLink is properly installed on your system and the path to the TargetLink library is included in the MATLAB path. You can add it using the addpath function(You can refer to the following page for more information on “addpath”: https://www.mathworks.com/help/matlab/ref/addpath.html).
  2. Check for Version Compatibility: Ensure that the version of TargetLink you have installed is compatible with your version of MATLAB and Simulink.
  3. Check TargetLink Configuration: Double-check the configuration settings for the TargetLink library, making sure the settings are correct and that the tool is pointing to the correct installation directories.
  4. Rebuild TargetLink Library: You can try rebuilding the TargetLink Library from the TargetLink manager.
You can refer to the answer below for more information on this issue:
I hope this helps!

Categories

Find more on Verification, Validation, and Test in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!