TCP-IP Compiling Problems
이전 댓글 표시
Hi everyone,
I am facing a problem that I don't even know if it is fixable.
I have created a function to communicate with a PLC and I am using tcp commands, such as this one:
t=tcpip(IP_str, Port_number, 'NetworkRole','server');,
where IP_str and Port_number are variables that define the IP and the port number of the PLC.
The problem comes up when I try to compile this function, becase the MATLAB Coder does not recognize tcp ip.
Do you know if there's anyway to compile a program with TCP IP commands?
Kind regards,
Eduardo
댓글 수: 2
Darshan Ramakant Bhat
2021년 2월 2일
It looks like that the function "tcpip" will be removed in one of the future release.
Please try to use the below function :
Eduardo Díaz Díaz
2021년 2월 2일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Application Deployment에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!