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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Using</strong> <strong>the</strong> <strong>AMESim</strong> <strong>MATLAB</strong>/<strong>Simulink</strong> <strong>Interface</strong>appropriate text string.Figure 5: Specifying <strong>the</strong> interface block.Note <strong>the</strong> three buttons labeled Clear all text, OK and Cancel.• Click on Cancel to abandon <strong>the</strong> process.• Click on Clear all text to remove any text you have entered.• Click on OK to obtain <strong>the</strong> icon produced by <strong>AMESim</strong>.An icon similar to that shown in Figure 6 will appear. Note <strong>the</strong> port position is denoted by >.Figure 6: The completed interface block.The pointer will take on <strong>the</strong> appearance of <strong>the</strong> icon and can be treated like a normal<strong>AMESim</strong> component icon. Thus it can be mirrored, rotated, deleted or added to systemsketch. All <strong>AMESim</strong> interface blocks have signal type ports.Connect <strong>the</strong> block inputs and output to <strong>the</strong> o<strong>the</strong>r components of <strong>the</strong> model as shown inFigure 2.It is worth mentioning 2 important points:• You can have more than one interface block but if you do, <strong>the</strong>y must all be of <strong>the</strong>same type (all <strong>Simulink</strong> standard interface blocks in <strong>the</strong> current example);• <strong>the</strong> <strong>AMESim</strong> model must be explicit i.e. <strong>the</strong>re cannot be any implicit variables,unless <strong>the</strong> co-simulation interface is used.10

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

Saved successfully!

Ooh no, something went wrong!