# ddeterm

## Purpose

Terminate DDE conversation between MATLAB and server application.

## Syntax

    rc = ddeterm(channel)

## Arguments

`rc`
  The return code: 0 indicates the function call failed, 1 indicates it succeeded.
`channel`
  The channel assigned to the conversation, returned by `ddeinit`.

## Description

`ddeterm` takes one argument, the channel handle returned by the previous call to `ddeinit` that established the DDE conversation.

## Example

    % Terminate the DDE conversation
    rc = ddeterm(channel);

## See Also

    ddeexec, ddeinit, ddepoke, ddereq, ddeunadv, ddeadv

(c) Copyright 1994 by The MathWorks, Inc.