SGreadstructfile

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Import/Export
Introduced first in SolidGeometry 5.1, Creation date: 2021-12-08, Last change: 2025-09-15

Reads in an matlab struct from an ascii struct file

Description

##
#
,
,

(extracted from PosereadAPD, 2019-02-15)
All files with ending APD (ascci pose definition) are ascii struct files


See Also: PosereadAPD , readtextfile

Example Illustration

 missing image of SGreadstructfile(fname)

Syntax

[PS,fname]=SGreadstructfile([fname])

Input Parameter

fname: filename of the struct

Output Parameter

PS: Struct
fname: used filename

Examples

File format:
## Comment
# A
5, 5, 6
# B
6, 6
7, 7
# C
Dies ist ein Test




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