Remove real-time application from target computer



unload(target_object) removes the loaded real-time application from the target computer. The kernel goes into loader mode and is ready to download new real-time application from the development computer.

If you are running the real-time application in Stand Alone mode, this command does nothing. To unload and reload a new standalone real-time application, rebuild the standalone application with the new model. Restart the target computer with the updated standalone application.


collapse all

Unload the real-time application represented by the target object tg.

Unload the real-time application.

tg = slrt;
Target: TargetPC1
   Connected            = Yes
   Application          = loader

Input Arguments

collapse all

Object that represents the target computer. Before calling this function, make sure that you start the target computer with the Simulink® Real-Time™ kernel and apply the required Ethernet link settings.

Example: tg

Introduced in R2014a