How can I resolve TCP/IP error in rapid accelerator mode?
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Swastik Sarkar
2024 年 9 月 24 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Development Computer Setup についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!