Fix Unresolved Library Links
If Simulink® is unable to find either the library block or the source library on your MATLAB® path during a linked block update, the link becomes unresolved. Simulink changes the appearance of these blocks.
Install Missing Product
Simulink helps you find and install missing products that a model needs to run.
Blocks are labeled with missing products (for example, SimEvents not installed).
Tooltips include the name of the missing product.
Diagnostic messages provide links to open the Add-On Explorer and install any missing products.
When you double-click the block, the dialog box provides a link to open the Add-On Explorer and install any missing products.
Resolve Path to Source Block
If Simulink is unable to find the library, you can fix the unresolved link using one of these methods:
Fix the reference to point to the correct location of the library block. Double-click the block to open its dialog box. Then, correct the path of the library block in the Source block text box and click OK.
Delete the unresolved block and copy the library block back into your model.
Add the folder that contains the required library to the MATLAB path. Then, on the Modeling tab, click Update Model.
Specify Unresolved Block Details for Custom Libraries
You can customize the description that appears in the dialog box for an unresolved
link to a custom library. Use the
set_param function to set the
libraryinfo property of the library. For example, this
command customizes the description to include a
library1is the name of the library for which you want to change the description, and
libraryinfois the property that provides the description of the unresolved link.