ttcreateperiodictask.m

来自「用于网络控制系统仿真」· M 代码 · 共 26 行

M
26
字号
% TTCREATEPERIODICTASK   Create a periodic TrueTime task.  %%  Usage: ttCreatePeriodicTask(name, offset, period,%                                    priority, codeFcn) %         ttCreatePeriodicTask(name, offset, period,%                                    priority, codeFcn, data)%%  Inputs:%    name      Name of the task, must be unique.%    offset    The offset time of the first periodic task job.%    period    The period of the task.%    priority  The priority of the task. Should be a positive number,%              where a small number represents a high priority.%    codeFcn   The code function of the task. Should be a string%              with the name of the corresponding m-file.%    data      An arbitrary data structure used to store%              task-specific data. Optional argument.%       % See also TTCREATETASK, TTSETX%%       TrueTime, Version 1.5%       Copyright (c) 2007%       Martin Ohlin, Dan Henriksson and Anton Cervin%       Department of Automatic Control LTH%       Lund University, Sweden

⌨️ 快捷键说明

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