Check that external mode simulation is complete
during an external mode simulation, checks whether the model simulation time has
reached the final simulation time specified by the command-line
simComplete = extmodeSimulationComplete();
'-tf' option or the Simulink® configuration parameter,
Use this function with other external mode functions to enable communication between Simulink and the target application during an external mode simulation.
For a pseudo-code example that shows how you can provide external mode communication by using the function with related functions, see External Mode Abstraction Layer.
simComplete— Simulation complete
true if model simulation time has reached the specified
final simulation time. Otherwise, returns