Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Group

Model selection

Description

The specified handle must have been obtained from GetConnHandle or NewConnHandle.

The specified connection is deleted. If connected, it is disconnected before deleting.

Required Control

None

Usage

RtlabApi.DeleteConnHandle(handle)

Input

  • handle: handle of a connection.

  • referencePath: Absolute path of the parameter or signal referenced by the alias. This path must exist in the model.

Output

None

Exception

  • EOK: Success.

  • ENOMEM: memory allocation error.

  • E2BIG: too many open connections for this process.

Examples

See multi_models

Related Items

NewConnHandle, GetConnHandle, SetConnHandle.

Modules

import RtlabApi