Main Content

extmodeGetFinalSimulationTime

Get final simulation time for external mode platform abstraction layer

Description

errorCode = extmodeGetFinalSimulationTime(finalTime); gets the model’s final simulation time for the external mode platform abstraction layer. The function is a complementary function for extmodeSetFinalSimulationTime.

Output Arguments

collapse all

Final simulation time of model.

Error code, returned as an extmodeErrorCode_T enumeration with one of these values:

  • EXTMODE_SUCCESS (0) –– No error detected.

  • EXTMODE_INV_ARG (-1) –– Arguments invalid.

  • EXTMODE_NOT_INITIALIZED (-9) –– External mode not initialized yet.

Version History

Introduced in R2018a