- Check the Library Browser: Open the Library Browser in Simulink and ensure that all the libraries referenced by your model are visible and active. If any libraries are inactive or missing, you will need to locate and activate them.
- Locate Missing Libraries: If a library is missing, you can try to locate it manually. Click on the library block in your model, and in the Block Parameters dialog box, there may be a "Library" field specifying the name or path of the library. You can use this information to search for the missing library in your Simulink installation or project directories.
- Add Missing Libraries: If you find the missing library, you can add it back to your Simulink environment. In the Library Browser, right-click on the library and select "Add to Library Browser" to make it active.
- Replace Broken Blocks: If you are unable to locate the missing library, or if the library link is broken, you may need to replace the affected blocks in your model with equivalent blocks from an active library. You can use the Library Browser to search for alternative blocks that serve the same purpose.
- Remove Inactive Blocks: If you no longer need the functionality provided by the inactive blocks, you can remove them from your model. Right-click on the block and select "Delete" to remove it.
- Update Block Links: After resolving any missing or broken library links, save your Simulink model and attempt to run it again. Simulink should no longer display the "physical modeling blocks cannot have broken or inactive library links" error.
While saving a simulink model I have the following error, "physical modeling blocks cannot have broken or inactive library links". How can I resolve this?
15 views (last 30 days)
Show older comments
I added a trip command on the ASM (asynchronous machine) pu model to stop the integration internally by breaking the library link. The model performed as expected. However, it cannot be saved.
0 Comments
Answers (1)
Atharva
on 24 May 2023
Hey Soumyadeep,
The error message you're encountering in Simulink indicates that there are broken or inactive library links associated with physical modeling blocks in your model. This typically happens when the Simulink model references blocks from a library that is either missing or deactivated.
To resolve this issue, you can follow these steps:
If your issue is not resolved , can you share your simulink models for detailed assistance.
0 Comments
See Also
Categories
Find more on Troubleshooting 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!