LabVIEW Control Design and Simulation Module

EMI_GetOutputSize (EMI Function)

  • Updated2023-03-14
  • 1 minute(s) read

EMI_GetOutputSize (EMI Function)

Owning Class: Outputs

Requires: Control Design and Simulation Module

Prototype

unsigned int EMI_GetOutputSize(emiRef model, unsigned int index);

Description

Returns the number of elements in an output.

Examples

Inputs

Name Description
model Specifies a reference to the external model. Use this reference as an input to other EMI functions. Do not modify model directly.
index Specifies the index of the output whose size you want to return.

Return Value

Returns the number of elements in the output corresponding to the index you specify.

Examples

/* return the size of the second output */
unsigned int outputWidth = EMI_GetOutputSize(model, 1);

Log in to get a better experience