Main Content


Connect Simulink to selected target computer

Since R2022b


    connect(tg) establishes the connection between the specified target and Simulink®.


    collapse all

    Create a target object and add a target with name LinuxTarget1. Connect the target to Simulink.

    tgs = linux.Targets();
    tg = tgs.addTarget("LinuxTarget1", "", "user1", "myPassword");

    Input Arguments

    collapse all

    Object represents a target computer. Use the object to establish the connection with Linux target, to deploy the applications on Linux target, and perform several other actions.

    Example: myTargetHandle

    Version History

    Introduced in R2022b