12.07.2015 Views

Using the AMESim MATLAB/Simulink Interface - NUPET

Using the AMESim MATLAB/Simulink Interface - NUPET

Using the AMESim MATLAB/Simulink Interface - NUPET

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Using</strong> <strong>the</strong> <strong>AMESim</strong> <strong>MATLAB</strong>/<strong>Simulink</strong> <strong>Interface</strong>In <strong>Simulink</strong> <strong>the</strong> only difference is <strong>the</strong> number and type of parameters of <strong>the</strong> S-Function.Figure 18: <strong>Simulink</strong> model - Co-simulationLooking at <strong>the</strong> parameters for <strong>the</strong> S-Function as shown in Figure 19 we can see that morethan two parameters are used. However it is possible to give it only two parameters; in thatcase <strong>the</strong> o<strong>the</strong>r parameters will get default values.Figure 19: The S-Function Parameters.The list of parameters of <strong>the</strong> S-Function is shown in <strong>the</strong> following table. Note that if wewant to set a value for <strong>the</strong> 4th parameter, it is necessary to give a value to all parametersbefore this one.20

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!