SGcheckcode

by Tim Lueth & Simon Laudahn, SG-Lib Toolbox: SolidGeometry 5.6 - Problems Find/Check/Fix
Introduced first in SolidGeometry 4.8, Creation date: 2019-11-22, Last change: 2025-09-14

Auxilary fnct for finding error lines

Description

This function was motivated by Simon Laudahn's statement in the Monday session.
checkcode - finds warnings/errors in code
opentoline - open the file at the desired line
url = 'https://www.mathworks.com'; sitename = 'The MathWorks Web Site'; fprintf('%s\n',url,sitename)

See Also:

Example Illustration

 missing image of SGcheckcode(FN,warnid,depend)

Syntax

R=SGcheckcode(FN,[warnid,depend])

Input Parameter

FN: File Name
warnid: search for a specific warning/error ID
depend: search complete dependence tree; default is false

Output Parameter

R: Result of checkcode

Examples


SGcheckcode('SGcheckcode');
SGcheckcode('SGcheckcode','NOPRT');




Copyright 2019-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-09-21