SGreadtable
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Import/Export
Introduced first in SolidGeometry 5.0, Creation date: 2021-01-29, Last change: 2025-09-15
This fnct reads in EXCEL tables with comments
Description
Lines that have a % character in column 1 are evaluated as comment lines
Lines that contain a date are converted to a string
Lines that contain numbers are converted to doubles
https://www.befestigungsfuchs.de/blog/wp-content/uploads/2011/12/Cheatsheet-Schraube-abgerissen-oder-rundgedreht.pdf
See Also: SGgcoderead
, SGwritetable
Example Illustration
Syntax
[Tab,VNames,CTab]=SGreadtable([fname])
Input Parameter
fname: | | filename of excel file |
Output Parameter
Tab: | | Table |
VNames: | | Variable Names |
CTab: | | Comment lines, cell list |
Examples
SGreadtable('/Volumes/LUETH-WIN/WIN AIM Matlab Libraries/SolidGeometry-Code/DIN4AMtemperature.xls')
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