Borrar filtros
Borrar filtros

how can i free the port to be used when fopen a udp by function fopen

1 visualización (últimos 30 días)
CoderMinga
CoderMinga el 12 de Sept. de 2023
Respondida: R el 16 de Mayo de 2024
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

Respuestas (1)

R
R el 16 de Mayo de 2024
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.

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by