Main Content

disconnect

Disconnect MATLAB from target computer

Since R2020b

Description

example

disconnect(target_object) disconnects MATLAB® from the target computer by using the target object.

Examples

collapse all

Create a target object that represents the target computer. Connect the development computer and target computer by using the target object. Disconnect the target computer.

tg = slrealtime('TargetPC1');
connect(tg);
disconnect(tg);

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Version History

Introduced in R2020b