EMI_SetWarning (EMI Function)
- Updated2023-03-14
- 1 minute(s) read
EMI_SetWarning (EMI Function)
Owning Class: User Interface
Requires: Control Design and Simulation Module
Prototype
void EMI_SetWarning(emiRef model, const char* warningText);
Description
Returns the warning message you specify.
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. |
| warningText | Specifies the warning message to return when the current simulation finishes. |
Examples
EMI_SetWarning(model, "Warning message goes here.");