clear4lectures

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Auxiliary function
Introduced first in SolidGeometry 5.0, Creation date: 2020-11-02, Last change: 2025-09-15

Auxiliary fnct for Tim Lueth to record lectures using Matlab and OBS



See Also:

Example Illustration

 missing image of clear4lectures(text)

Syntax

clear4lectures([text])

Input Parameter

text: 'reset' will set 13 points, 'set will set to 20 point




Copyright 2020-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 clear4lectures is designed to assist in recording lectures using Matlab and OBS. It is part of the SolidGeometry library and was introduced in version 5.0. The function takes an optional input parameter text.

Input Parameters

Algorithm Steps

  1. Retrieve the input parameter text using getfuncparams. If not provided, it defaults to an empty string.
  2. Access Matlab's settings to modify the code font size.
  3. Set the font size to 20 if the input is 'set' or 'obs'.
  4. Clear the command window using clc.
  5. Create and clear a figure window with figure(1) and clf.
  6. Use a switch statement to handle different cases based on the text input:

Switch Cases

Algorithm explaination created using ChatGPT on 2025-08-19 01:40. (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