LabVIEW Control Design and Simulation Module

EMI_SetModelName (EMI Function)

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

EMI_SetModelName (EMI Function)

Owning Class: User Interface

Requires: Control Design and Simulation Module

Prototype

void EMI_SetModelName(emiRef model, const char* modelName);

Description

Specifies the name of an external model. LabVIEW displays this name in several places, such as in the Context Help window and in the title bar of the configuration dialog box for the corresponding External Model function. You can call this function only within EMI_CB_ModelInterface 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.
modelName Specifies the name of the model.

Examples

void EMI_CB_ModelInterface(emiRef model) {
   EMI_SetModelName(model, "My Example");
}

Log in to get a better experience