MATLAB: SIL using model reference

Embedded Codermodel referencesilsimulation modesimulink

ModelReference in SIL Mode
I want to understand the difference between thsese two 'code interface' options.
What difference it makes in each(Model Reference, Top Model) of the option shown and what is recommended option for perticular application?
I have gone through the 'Help' literature but it did not elaborate in detail which I need.
Can anyone help?

Best Answer

I thought the document was clear.
To deploy the generated code as part of a larger application that uses the referenced model, specify Model reference. To deploy the generated code as a standalone application, specify Top model.