フィルターのクリア

rtIOStreamBlockingSend and rtIOStreamBlockingRecv functions

1 回表示 (過去 30 日間)
Artyom
Artyom 2014 年 5 月 5 日
Hi. I'm trying to implement Host/Target Communication using serial transfer. I used a guide from http://www.mathworks.de/de/help/rtw/ug/creating-a-tcp-ip-transport-layer-for-external-communication.html#f7917 "Create a Custom Server (Target) Transport Protocol" to modify Target interface to my communication interface on target board. (I use Cortex-M3 Platform).
The problem is when I generate code for my model and add recomended files to my build: matlabroot/rtw/c/src/ext_mode/serial/ext_serial_pkt.c matlabroot/rtw/c/src/ext_mode/serial/rtiostream_serial_interface.c matlabroot/rtw/c/src/ext_mode/serial/ext_svr_serial_transport.c
besides customized transport functions, defined in rtiostream.h file . E.g. rtIOStreamOpen, rtIOStreamClose, rtIOStreamSend,and rtIOStreamRecv, I got the error, that some functions - rtIOStreamBlockingSend and rtIOStreamBlockingRecv are implicit defined. E.g there are no prototypes or definitions available in any file for these functions. What do those functions do? And what I should implement for them?

回答 (0 件)

カテゴリ

Help Center および File ExchangeEmbedded Coder Supported Hardware についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by