| Embedded IDE Link™ CC | ![]() |
msgcount(rx,'channel')
msgcount(rx,'channel') returns the number of unread messages in the read-enabled queue specified by channel for the RTDX™ interface rx. You cannot use msgcount on channels configured for write access.
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.
Write data to the target from MATLAB® software.
indata=1:100; writemsg(cc.rtdx,'ichannel', int32(indata));
Use msgcount to determine the number of messages available in the queue.
num_of_msgs = msgcount(cc.rtdx,'ichannel')
![]() | load | new | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |