MATLAB: Do Stateflow charts not retain their library links when copied within a library in Stateflow v 4.0 (R12)

chart;chartscopylibrarylinknote;releasestateflow

Why do Stateflow charts not retain their library links when copied within a library?
I copied my Stateflow chart from one subsystem in my library to another. There was no library link on the new copy. If I do the same thing with a subsystem, the link is created. Why is this different?

Best Answer

This is expected behavior in Stateflow. Library links are not created when a Stateflow chart is copied within a library. This is documented in our release notes found at the folowing link:
A workaround for this behavior is to include the Stateflow chart in its own subsystem and then copy the subsystem.