MATLAB: Is it possible to link an Embedded MATLAB block in the top level of the custom Simulink library in Simulink 7.4 (R2009b)

blockcustomembeddedfunctionlevellibrarylinkMATLABreferencesimulinktop

I have a custom library that includes an Embedded MATLAB block and a subsystem block in Simulink 7.4 (R2009b).I am trying to reference the Embedded MATLAB block in this subsystem block. However it seems that Embedded MATLAB blocks are created only as copies of the top level Embedded MATLAB block and not being linked to it.
I can link top-level subsystem in another subsystem of that same library, and I would like to be able to do the same with Embedded MATLAB blocks.

Best Answer

The ability to place Embedded MATLAB blocks at the top level in a custom library and linking it within the said library is not available in Simulink 7.4 (R2009b).
As a possible workaround, place the Embedded MATLAB block inside a subsystem at the top level of your library.