How to solve the error 'Attempt to modify a library link'?

Dear Specialist:

I want to modify the SOGI block, but it's already masked and cannot be modified, and when I want to redefine it, the error occured as'Attempt to modify a library link'. 

How can I solve it?

Hello,

Assuming you are referring to the implementation of the Single-Phase PLL library component in PLECS, you need to right-click on the high-level subsystem, and choose Subsystem>Break library link from the context menu. I hope this helps!

Best,

Kris