What is the instrfind function equivalent for tcpclient objects?
古いコメントを表示
Mathworks will remove tcpip and visa, replacing it with tcpclient and visadev. It's common the use of instrfind to find the tcpip and visa sockets created (even in the tmtool), so it's not necessary to create a new one. It solves a lot of connection problems...
But... what is the instrfind equivalent for tcpclient and visadev objects?
a = tcpclient('127.0.0.1', 3485);
b = tcpip('127.0.0.1', 3485);
c = tcpip('127.0.0.1', 3485);
instrfind
% Instrument Object Array
%
% Index: Type: Status: Name:
% 1 tcpip closed TCPIP-127.0.0.1
% 2 tcpip closed TCPIP-127.0.0.1
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で TCP/IP Communication についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!