How to create a .dll from a .slx?

10 views (last 30 days)
Ethan
Ethan on 2 Aug 2022
Answered: Mark McBroom on 13 Sep 2023
have an open .slx file, trying to convert to a .dll. I am unsure of how to do this.

Answers (2)

Mark McBroom
Mark McBroom on 3 Aug 2022
This can be done with SImulink Coder + Embedded Coder and then use the ert_shrlib.tlc target file.
  1 Comment
furkan
furkan on 13 Sep 2023
Edited: furkan on 13 Sep 2023
Hi,
I use ert_shrlib.tlc target file to get dll file and I successfully build the simulink file but my problem here is I cannot find .dll file. ert_shrlib_rtw folder is generated and inside of it there are lots of files. Is there any extra process to get .dll file from this generated folder?
Thanks in advance

Sign in to comment.


Mark McBroom
Mark McBroom on 13 Sep 2023
Do you get any error messages? Make sure you don't have the "generate code only" box checked.
Thanks.
Mark.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Tags

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!