Disable Nagle's Algorithm for Simulink TCP Client blocks in slrealtime
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Dean D.
am 19 Feb. 2025
Beantwortet: Aravind
am 13 Mär. 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 Kommentare
Akzeptierte Antwort
Aravind
am 13 Mär. 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Development Computer Setup finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!