外部インタフェース/API リファレンス | ![]() ![]() |
MATLABとDDEサーバアプリケーション間のアドバイザリリンクの解除
表示
rc = ddeunadv(channel, item, format, timeout)
引数
rc
リターンコード: 0はファンクションコールの失敗、1は成功を示します。
channel
ddeinit
より出力されます。
item
format
timeout
timeout
は、1000分の1秒単位(1000ミリ秒= 1秒)で指定します。timeoutのデフォルトは3秒です。
詳細
ddeunadv
は、ddeadvのコールによって確立されたMATLABとサーバアプリケーション間のアドバイザリリンクを解除します。channel, item, formatは、リンクを初期化するddeadvへのコールで指定されたものと同じでなければなりません。timeout引数を指定し、formatはデフォルトを用いる場合、空行列としてformatを指定しなければなりません。
例題
% Release the hot link established in the ddeadv example. rc = ddeunadv(channel, 'r1c1:r5c5'); % Release a hot link with default format and a timeout value. rc = ddeunadv(chan, 'r1c1:r5c5', [], 6000);
![]() | ddeterm | Cエンジンルーチン | ![]() |