docSG

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CODING/DEVELOP
Introduced first in SolidGeometry 5.2, Creation date: 2022-12-15, Last change: 2025-09-15

just shows the documentation of the calling fnct

Description

cam be used as last line in nargout block, to support rare used function

With SG-Lib 5.5, it is possible to use an argument too.

See Also:

Example Illustration

 missing image of docSG (fname)

Syntax

docSG([fname])

Input Parameter

fname: optinal fnc name if the caller is not desired

Examples


docSG % Documentation of the calling fnc
docSG CPL2cw % Web documentation by mathworks




Copyright 2022-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)

This function, docSG, is designed to display documentation for a specified function or the calling function within the SG-Library. It was developed by Tim Lueth and is part of the VLFL-Lib, introduced in SolidGeometry 5.2 and updated in SG-Lib 5.5.

Input Parameters

Algorithm Steps

  1. The function begins by retrieving the function name using getfuncparams, which processes the input arguments. If no arguments are provided, it defaults to an empty string.
  2. A base URL for MathWorks documentation is defined as mwurl.
  3. The function checks the number of input arguments using nargin:
Algorithm explaination created using ChatGPT on 2025-08-19 00:31. (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