Syntax
RRhelp
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
Algorithm (Workflow)
The function RRhelp
is part of the Round-Robin real-time environment, designed to demonstrate how simple real-time systems can be implemented in MATLAB or on microcontrollers without real-time operating systems. The Round-Robin approach is a basic real-time solution that executes tasks sequentially at regular intervals.
Key Concepts
- Task List: A list of function calls that are executed sequentially every specified number of milliseconds.
- User Shell: Allows dynamic modification of the task list during execution.
The Shell
- RRshell: Opens a figure, installs a new keyboard function, collects data, and executes commands using MATLAB's
EVAL
function. It stops after a predefined period, giving the user the impression of using the MATLAB command line, with a different prompt indicating the shell's presence.
- RRkeyboardCallback: A keyboard callback function installed by
RRshell
to collect keyboard data similar to the MATLAB command line. The entered character lines are interpreted and executed by RRshell
. This function is visible to allow other tasks access to keyboard characters.
Functionality
The RRhelp
function calls helptextofcaller
, which likely displays help text related to the Round-Robin environment or the specific function from which it is called.
Related Functions
RRshell
RRkeyboardCallback
RRcreateTasklist
Algorithm explaination created using ChatGPT on 2025-08-19 07:14. (Please note: No guarantee for the correctness of this explanation)
Last html export of this page out of FM database by TL: 2025-09-21