Disable Nagle's Algorithm for Simulink TCP Client blocks in slrealtime
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Dean D.
el 19 de Feb. de 2025
Respondida: Aravind
el 13 de Mzo. de 2025
For slrealtimeiplib, for realtime desktop application, is there a way to update the 'TCP Client' block to disable 'Nagle's Algorithm' ("EnableTransferDelay",false)?
This is possible via:
scopeInterface = tcpclient('XXX.XXX.XXX.XXX',YYYY, "EnableTransferDelay",false);
But does not seem to be an option for the slrealtime library blocks, and the code mentioned above ('tcpClient') does not seem to be code generatable for speed-goat systems.
When trying to use 'tcpclient', an error occurs 'The current BuildConfig has not been set'.
0 comentarios
Respuesta aceptada
Aravind
el 13 de Mzo. de 2025
According to the documentation at https://www.mathworks.com/help/slrealtime/io_ref/tcpclient.html, there is no option to disable "Nagle’s Algorithm" for the "TCP Client" block in the Simulink Real-Time library in MATLAB R2024b.
However, I checked the MATLAB R2025a pre-release, and it appears that this feature is included in the "Advanced Parameters" section of the block parameters. Since it is available in the R2025a pre-release, it is likely to be present in the MATLAB R2025a stable release as well. For more details, you can refer to the pre-release documentation for the "TCP Client" block here: https://www.mathworks.com/help/releases/R2025a/slrealtime/io_ref/tcpclient.html.
You might consider upgrading to the MATLAB R2025a pre-release to access this feature.
Hope this helps.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Development Computer Setup en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!