Cannot find library called 'tllib'

60 次查看(过去 30 天)
Shiwani
Shiwani 2023-12-1
回答: Ayush Anand 2023-12-13
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?

回答(1 个)

Ayush Anand
Ayush Anand 2023-12-13
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!

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by