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?

23 visualizaciones (últimos 30 días)
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.

Respuestas (1)

Atharva
Atharva el 24 de Mayo de 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:
  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
If your issue is not resolved , can you share your simulink models for detailed assistance.

Categorías

Más información sobre Troubleshooting en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by