how can i free the port to be used when fopen a udp by function fopen
1 次查看(过去 30 天)
显示 更早的评论
when i run the ocde :
obj.m_udp = udp(192.168.1.1,'RemotePort',50001,'LocalPort',50002);
fopen(obj.m_udp);
then a error in command view:
error: icinterface/fopen
Unsuccessful open: Address already in use: Cannot bind
0 个评论
回答(1 个)
R
2024-5-16
You can refer to the following troubleshooting steps to make sure that there are no other applications or MATLAB instances running that might be using the same IP address and port.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!