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.3%       Copyright 2005%       Martin Andersson, Dan Henriksson and Anton Cervin%       Department of Automatic Control%       Lund Institute of Technology, Sweden

⌨️ 快捷键说明

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