MATLAB Link for Code Composer Studio Development Tools | ![]() ![]() |
Return the number of messages in a read-enabled channel queue
Syntax
Description
msgcount(rx,'
returns the number of unread messages in the read-enabled queue specified by channel
')
channel
for the RTDX link rx
. You cannot use msgcount
on channels configured for write access.
Examples
If you have created and loaded a program to the target processor, you can write data to the target, then use msgcount
to determine the number of messages in the read queue.
msgcount
to determine the number of messages available in the queue.
See Also
read
, readmat
, readmsg
![]() | load | new | ![]() |