tcpclient objects are not supported by icdevice. Hardware interface object must be a serial, tcpip, visa, or gpib object.
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I was using tcpip interface object with my matlab interface intrument driver. But, it was giving warining that tcpip will be removed in future release. So, to make my code work even in future I changed tcpip with tcpclient as suggested. But, it is not supported by icdevice. So how can I use my interface intrument driver with functions that are not going to be removed in near future. Also, can anyone suggest when this tcpip function will be removed fro Matlab? Please find below code snippet which is giving error. "tcpclient objects are not supported by icdevice. Hardware interface object must be a serial, tcpip, visa, or gpib object."
% Create a new TCP/IP client object.
interfaceObj = tcpclient(remoteHost, remotePort);
% Create a device object.
deviceObj = icdevice('my_driver.mdd', interfaceObj);
0 commentaires
Réponses (1)
Hassaan
le 18 Juil 2024
Modifié(e) : Hassaan
le 18 Juil 2024
Continue Using tcpip: Since it hasn't been removed yet, you can continue to use tcpip until MathWorks provides a clear update or until icdevice supports tcpclient.
Contact MathWorks Support: Reach out to MathWorks for advice or to advocate for icdevice support for tcpclient.
Use Alternative Interfaces: Consider using other supported interfaces like VISA for TCP/IP communication.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!