rtIOStreamBlockingSend and rtIOStreamBlockingRecv functions
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!