Can I call a Matlab Compiler generated .dll from Simulink which will then be coded/compiled using Simulink Coder?

There are really two parts to this question:
1) Can I call a .dll generated by Matlab Compiler from a Simulink model? I know there are a number of ways to call external DLLs from Simulink, but I am specifically asking if there are any known issues with the Matlab Compiler Runtime (MCR) being initialized from within Simulink.
2) Can I then subsequently generate code for the same Simulink model (which is calling Matlab Compiler generated .dll) using Simulink Coder?
I have already opened a support ticket with Mathworks and have been told that it is unknown whether or not this is supported, so I guess I'm wondering whether any users have ever tried this and have any experience to share.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Asked:

on 5 May 2015

Answered:

on 6 Nov 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!