MATLAB: When adding a masked variable to the simulink block, the block hangs indefinitely.

freezelibrarymasksimulinksimulink project

When I add a masked variable to one of my libraries within a Simulink Project, the library then hangs or freezes indefinitely when I attempt to go underneath the mask.
Only when I open the file outside my Simulink Project can I remove the masked variable and am I able to reopen the file within the project.

Best Answer

So I resolved this! But it caused me great pains on the way to figuring out my error.
If you add assign a masked variable with the same name as another library file within your project, Simulink freezes up when attempting to evaluate the masked variable with the library.
So, if in my project I have two libraries:
"LibA.slx", and "LibB.slx"
Then I cannot add a mask to a block within LibB that has the internal variable name 'LibA'.