LabVIEW Control Design and Simulation Module

EMI_SetNumberOfContinuousStates (EMI Function)

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

EMI_SetNumberOfContinuousStates (EMI Function)

Owning Class: Continuous States

Requires: Control Design and Simulation Module

Prototype

void EMI_SetNumberOfContinuousStates(emiRef model, unsigned int num);

Description

Specifies the number of continuous states for an external model. You can call this function only within the EMI_CB_SizeInformation function.

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.
num Specifies the number of continuous states for the model.

Examples

void EMI_CB_SizeInformation(emiRef model) {
   EMI_SetNumberOfContinuousStates(model, 2);
}

Related Topics

EMI_CB_SizeInformation
EMI_GetNumberOfContinuousStates

Log in to get a better experience