ttcreatelog.m

来自「一个很棒的网络控制系统仿真软件」· M 代码 · 共 32 行

M
32
字号
% TTCREATELOG   Create a log structure for task attributes.%%  Usage: ttCreateLog(taskname, logtype, variable, size)%%  Inputs:%    taskname  Name of the task for which the log is created.%    logtype   The log type, should be any of:%                 %              1  - Response time log%              2  - Release latency log, time between arrival%                   and release of each task job%              3  - Start latency log, time between arrival%                   and start of execution for each task job%              4  - Execution time log%              5  - Context switch log, logs the time instants%                   when the context is restored if context %                   switching is being simulated%              6  - User-controlled log, written to using%                   ttLogNow, ttLogStart, and ttLogStop%%    variable  The name of the variable in MATLAB workspace to%              which the log will be written after the simulation.%    size      The maximum number of elements in the log.%       % See also TTLOGNOW, TTLOGSTART, TTLOGSTOP%%       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 + -
显示快捷键?