How can I resolve TCP/IP error in rapid accelerator mode?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Swastik Sarkar
il 24 Set 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 Commenti
Vedere anche
Categorie
Scopri di più su Development Computer Setup in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!