Syntax

rtobj.disconnect

Description

disconnect is a method of the simwb.rtobj object. The disconnect method will delete the connection socket between MATLAB and the SIMulation Workbench server running on the real-time host. Once MATLAB is disconnected from the SIMulation Workbench server, SIMulation Workbench API calls cannot be made from the MATLAB command line.

See also:

     connect

Example: rtobj_disconnect.m