⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ttsendmsg.m

📁 由瑞典人开发的一个可以在Matlab环境中应用的实时数据传输控制的工具包
💻 M
字号:
% TTSENDMSG   Send a message over a network.%             This function is used both for wired and wireless networks.%%  Usage: ttSendMsg(receiver, data, length)%         ttSendMsg(receiver, data, length, priority)%         ttSendMsg([network receiver], data, length)%         ttSendMsg([network receiver], data, length, priority)%%  Inputs:%    receiver  The number of the receiving node (a number between%              1 and the number of nodes). It is allowed to send %              messages to oneself. Specify receiver number 0 to %              broadcast a message to all nodes in the network. %    data      The contents of the message (arbitrary data).%    length    The length of the message, in bits. Determines %              the time it will take to transmit the message.%              NOTE: Changed from bytes to bits in TrueTime 1.4%    priority  The priority of the message (relevant only for%              CSMA/AMP networks). If not specified, the priority %              will be given by the number of the sending node,%              i.e., messages sent from node 1 will have the%              highest priority by default.%    network   The network interface on which the message should %              be sent. The default network number is 1. %       % See also TTINITNETWORK, TTGETMSG%%       TrueTime, Version 1.4%       Copyright (c) 2006%       Martin Ohlin, Dan Henriksson and Anton Cervin%       Department of Automatic Control, LTH%       Lund University, Sweden

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -