# Simulink Interface

**URL:** <https://forums.nlr.gov/t/simulink-interface/354>\
**Category:** Computer-Aided Engineering Software Tools\
**Created:** [April 18, 2011, 9:41am UTC](https://forums.nlr.gov/t/simulink-interface/354 "2011-04-18T09:41:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ana.Carrillo](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@Ana.Carrillo](https://forums.nlr.gov/u/Ana.Carrillo)\
**Post date:** [April 18, 2011, 9:41am UTC](https://forums.nlr.gov/t/simulink-interface/354/1 "2011-04-18T09:41:54Z")

</div>

Good morning,

I,m working on FAST-Simulink the first time. I would like know if I have to click on Play button to run the example Simulink model OpenLoop.mdl every time that I open a MATLAB command window (as simsetup.m and as the name of FAST input file (.fst)) or only have to do it once.

Another question: FAST\_SFunc.dll is the same than FAST\_SFunc.mexw32? If this is not true, where is FAST\_SFunc.dll?  
And the last one: I think (after a reading on FAST User’s Guide) that the model Test01\_SIG.mdl also has to be for getting the interface works correctly, but could anyone confirm it?

Thanks you

---

<div class="post-metadata">

**Author:** ![Jason.Jonkman](https://dub1.discourse-cdn.com/nrel/user_avatar/forums.nlr.gov/jason.jonkman/32/3086_2.png) [@Jason.Jonkman](https://forums.nlr.gov/u/Jason.Jonkman)\
**Post date:** [April 18, 2011, 6:05pm UTC](https://forums.nlr.gov/t/simulink-interface/354/2 "2011-04-18T18:05:52Z")

</div>

Dear Ana,

The S-Function has changed from “FAST\_SFunc.dll” to “FAST\_SFunc.mexw32” in MATLAB R2006a and newer.

I’m not sure I understand what you are asking in your other questions. Please clarify.

Best regards,

---

<div class="post-metadata">

**Author:** ![Ana.Carrillo](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@Ana.Carrillo](https://forums.nlr.gov/u/Ana.Carrillo)\
**Post date:** [April 20, 2011, 10:22am UTC](https://forums.nlr.gov/t/simulink-interface/354/3 "2011-04-20T10:22:04Z")

</div>

Thank you,

I will do the questions again:

```
 1. If I don't use FAST input files from CertTest folder, is then necessary the model Test01_SIG.mdl in order to the interface works correctly ?
 2. I think that I always have to run the example Simulink model OpenLoop.mdl at the beginnig of the simulation, is it true?

```

Thank you,

Please, tell me know if you don’t understand any question.

---

<div class="post-metadata">

**Author:** ![Jason.Jonkman](https://dub1.discourse-cdn.com/nrel/user_avatar/forums.nlr.gov/jason.jonkman/32/3086_2.png) [@Jason.Jonkman](https://forums.nlr.gov/u/Jason.Jonkman)\
**Post date:** [April 20, 2011, 11:39pm UTC](https://forums.nlr.gov/t/simulink-interface/354/4 "2011-04-20T23:39:57Z")

</div>

Dear Ana,

To run your own FAST simulation from within Simulink, I suggest you start with OpenLoop.mdl and add in the control laws that you wish to apply. OpenLoop.mdl is a Simulink model that contains the FAST S-Function block and blocks that integrate the DOFs. The control inputs in OpenLoop.mdl are input blocks with constant values; these can obviously be changed to incorporate more advanced control laws, with feedback.

You should not need Test01\_SIG.mdl. Test01\_SIG.mdl is a sample Simulink model that implements FAST’s simple induction generator (SIG) model within Simulink. This is included in the archive for reference purposes only to demonstrate how a control feedback law can be implemented.

I hope that helps.

Best regards,
