0

How can Simulink and Stateflow models be compiled into a .NET shared DLL library? Is this a feature of Matlab? Is there a specific version or Matlab package required?

I am currently using Matlab 2017a on Windows 7. Any starting points would really be appreciated. Thank you.

Note: I asked this in a Matlab forum but did not receive any replies. https://www.mathworks.com/matlabcentral/answers/355348-how-to-generate-net-dll-library-from-simulink-and-stateflow

sammy
  • 101
  • 2
  • 8

1 Answers1

0

This question has been asked several times before, see for example:

In short, you need to use Embedded Coder with the Shared Library Target.

am304
  • 13,758
  • 2
  • 22
  • 40
  • Is there a way of generating a managed library using Embedded Coder? I would like to use this within a .NET managed application (C#) without having to P/Invoke calls. – sammy Sep 07 '17 at 22:57