Main Content

disconnect

Disconnect MATLAB from target computer

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

Introduced in R2020b