How can I resolve TCP/IP error in rapid accelerator mode?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
When I run Simulink model with TCP/IP Client Send and Received blocks in Rapid Accelerator Mode I get the following error.
Unable to build a standalone executable to simulate the model 'testSimulinkTcp' in rapid accelerator mode.
Caused by: In order to generate code from AsyncIO, the target hardware must be MATLAB Host or a compatible device. The error occurred for MATLAB System block 'testSimulinkTcp/TCP//IP Receive'
However, it works properly in both Normal and Accelerator modes.
0 Kommentare
Antworten (1)
Swastik Sarkar
am 24 Sep. 2024
It appears that the 'TCP/IP Receive' block being used is not supported for code generation on the selected hardware, which is a necessary step for the Rapid Accelerator target. More information about Rapid Accelerator mode can be found here:
To address this error, selecting the appropriate 'TCP/IP Receive' block for the specific hardware is required. For instance, on Arduino, the following 'TCP/IP Receive' block is necessary:
Further details can be found in this MATLAB Answer:
Hope this helps.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Development Computer Setup finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!