RRcreateTasklist

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.5 - Realtime Roundrobin
Introduced first in SolidGeometry 3.5, Creation date: 2017-03-02, Last change: 2025-07-20

creates a Round Robin task list

Description

Matlab is an extreme powerful programming environment that allows to create even simple round robin realtime systems for every body. It makes sense to understand the principles of a round robin system before using matlab threads on a not-realtime-operationg system and before switching to realtime-OS such as QNX or Kithara.
This "Round Robin task list" class works with real functions handles and persistent and global variables as well as with simple matlab command line commands.

See Also: RRshell , RRkeyboardCallback , RRhelp

Example Illustration

 missing image of RRcreateTasklist(t0,funclist,twarn,tstop)

Syntax

RRL=RRcreateTasklist([t0,funclist,twarn,tstop])

Input Parameter

t0: Clock cycle time
funclist: cell list of function handles
twarn: optional warning time; default is INF
tstop: optional stop time; default is INF

Output Parameter

RRL: Round Robin List struct

Examples


RRcreateTasklist(1,{' PL=[0 0 0]; PLplot(PL); show;';... 'PL=[PL;PL(end,:)+rand(1,2)'})




Copyright 2017-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-08-09