Simulink Compiler with Matlab Compiler SDK to get .NET DLL
Afficher commentaires plus anciens
Hi Folks,
The problem I am trying to solve involves getting my Simulink/Simscape model into a DLL so that it can be called within the .NET framework.
I am aware that there are solutions on this forum which involve the Embedded Compiler and Matlab Coder but I was hoping to find a solution that sppecifically uses the Simulink Compiler along with the Matlab Compiler SDK. There is a example of using Matlab Compiler along with Matlab Compiler SDK to generate a DLL which can be called from a .NET framework (https://www.mathworks.com/help/compiler_sdk/dotnet_assemblies.html) and I am looking for something similar with Simulink, as the pipeflow seems to be easier. I believe that the level of complexity of my model would be better suited for a shared library based solution.
The toolbox summary overview on the Simulink Compiler homepage (https://www.mathworks.com/products/simulink-compiler.html) seems to imply that it can be done. It says in the section "Enterprise Applications" that "With MATLAB Compiler SDK you can package your Simulink simulation into a language-specific software component such as a C/C++ shared library, Java JAR, Python package, or .NET DLL, which can then be invoked from an enterprise application."
However I could not find any example of how this could be done, specifically with the Simulink Compiler - Matlab Compiler SDK coupling.
I was hoping that someone in the community might has some ideas about this particular pipeflow and perhaps could provide some pointers on how it could be done. While I do have a decent background in Matlab/Simulink, I just started using the Compiler Toolbox system recently and thus any help in figuring out this workflow would be much appreciated.
Thanks in advance,
NK
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur MATLAB Compiler SDK dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

