extmodeSimulationComplete - Check that external mode simulation is complete - MATLAB (original) (raw)
Main Content
Check that external mode simulation is complete
Syntax
Description
[simComplete](#d126e37013) = extmodeSimulationComplete();
during an external mode simulation, checks whether the model simulation time has reached the final simulation time specified by the command-line'-tf'
option or the Simulink® configuration parameter, StopTime
.
Use this function with other external mode functions to enable communication between Simulink and the target application during an external mode simulation.
Examples
Set Up External Mode Communication
For a pseudo-code example that shows how you can provide external mode communication by using the function with related functions, seeExternal Mode Abstraction Layer.
Output Arguments
true
if model simulation time has reached the specified final simulation time. Otherwise, returns false
.
Version History
Introduced in R2018a