dbsave

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Debug
Introduced first in SolidGeometry 5.1, Creation date: 2021-04-10, Last change: 2025-09-15

writes for debugging variables into the global workspace

Description

A function, MathWorks should implement for quick debugging. Same functionality also implemented for dbreturn.
By using dbprintmode, it is possible to ectivate the openinline function to reach the function call immedeatly

See Also: dbprintflog , dbprintf , dbreturn , dbprintmode

Example Illustration

 missing image of dbsave(var2base)

Syntax

dbsave([var2base])

Input Parameter

var2base: list of variables that should be in the workspace after return

Examples

works only in funct
testvar=4;
dbsave(testvar); % creates testvar in workspace




Copyright 2021-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