ttcreatetask.m
来自「TrueTime1.2(用于网络控制系统的仿真」· M 代码 · 共 23 行
M
23 行
% TTCREATETASK Create a TrueTime task. %% Usage: ttCreateTask(name, deadline, priority, codeFcn) % ttCreateTask(name, deadline, priority, codeFcn, data) %% Inputs:% name Name of the task, must be unique.% deadline The relative deadline of the task.% priority The priority of the task. Should be a positive number,% where a small number represents a high priority.% Only relevant for fixed-priority scheduling.% 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 TTCREATEPERIODICTASK, TTCREATEJOB, TTSETX%% TrueTime, Version 1.2% Copyright 2004 by Dan Henriksson, Anton Cervin% Department of Automatic Control% Lund Institute of Technology, Sweden
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?