Creating a Windows DLL from a Simulink Diagram

1 回表示 (過去 30 日間)
John F
John F 2012 年 4 月 11 日
I need to create a library that other applications can call from a Simulink diagram. I'm assuming I can use "grt.tlc" to create ANSI-C and go from there. Anyone else done this? What pitfalls might I encounter?
Thanks!

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2012 年 4 月 11 日
grt.tlc generates an executable. If you need a library, ert_shrlib.tlc is more appropriate (assuming you have an Embedded Coder license). If you don't have Embedded Coder, you should be able to perform some manual changes to the code generated using grt.tlc and modify the build rules to obtain a library instead.

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by