Giter Club home page Giter Club logo

discon_simulink's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

discon_simulink's Issues

DISCON compiler to obtain controllers in DLL

Hi everybody,

I'm working with Matlab/Simulink and OpenFAST. I have developed some controllers for the Offshore NREL 5 MW wind turbine such as FUZZY controllers. I'd like to obtain these controllers in DLL format with the generating code Compiler of Simulink. I'm interested in using the same generated controllers in OpenFAST independently.

I'm using the DISCON_Simulink library following the steps mentioned in the ReadMe file.

I'm focusing on this file: "discon_main.c" in particular in line 119

extern void __declspec(dllexport) __cdecl DISCON(float *avrSwap, int *aviFail, char *accInfile, char *avcOutname, char *avcMsg); 

If I'm not wrong, this function is designed for exporting data to avrSwap in OpenFAST once you have integrated DISCON.DLL.

The problem is that once Simulink generate: .dll, .exp, .lib and a folder called Discon_rtw I search the function mentioned before and it's missing. I think that this could be the problem why I can't integrate the generated controllers in OpenFAST independently.

Is Simulink missing to include the function mentioned? Is there a way to check it?

Thank you for your response,

Javier Merino.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.