Generate DLL from Simulink model

214 views (last 30 days)
Hallo everybody,
I am about to start working on an interface between Simulink modules and GH BLADED, software tailored to simulate the dynamic behavior of wind turbines. Within Simulink, I plan to develop some control strategies. This control model should be then ported as DLL to BLADED and actually command the reaction of the turbine to external inputs.
I'd appreciate knowing if any of you may address me to the easier procedure to generate DLL out of a Simulink model. At the time of writing, I do not have a clear idea about the best way to go.
Perhaps, it would be an option to generate a .tlc file, suited only for BLADED, exactly as it happens with LabView (but LabView already supports such a tlc file, BLADED so far does not).
I really thank you in advance for considering my request.
Kindest regards, FPe
  4 Comments
Olatunji Fulani
Olatunji Fulani on 12 Jun 2021
Hello Sven,
Were you able to resolve your SIMULINK-DLL-PSCAD issues? I'd like to know more as I am having similar problems. Thanks.

Sign in to comment.

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 7 Oct 2013
You can use ert_shrlib.tlc if you have the Embedded Coder product to generate generic DLLs from your Simulink model. The relevant documentation is here: Shared Object Libraries.
  5 Comments
Sameer Gadekar
Sameer Gadekar on 20 Jan 2021
@Tusharkumar Jivani Are you able to find solution for this ? Can you please share your solution ?

Sign in to comment.

More Answers (1)

Ivo Houtzager
Ivo Houtzager on 11 Aug 2020
There is a Simulink controller design example to create DLL for GH Bladed and OpenFAST in github, see
  2 Comments
YIZA SRIKANTH REDDY
YIZA SRIKANTH REDDY on 7 Oct 2022
Hello lvo
Actually i am facing problem to generate .DLL form the model from above link , enenthough model is build successfully. In build directory some .c and.h files were generated, after that how we would gnerate .dll ?
please help me in this. thmaks inadvance

Sign in to comment.

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!