Posesampleupdate

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 4Bar/Linkages
Introduced first in SolidGeometry 5.1, Creation date: 2022-02-02, Last change: 2025-09-15

inserts a pose struct and a name into the posesamles.mat file

Description

The function Posesample can be called using a number or a string. In case of useing Posesample with a string, the file Posesamles.mat is loaded tht containt the cell list Posesamples which is simple a list of type {Name, Struct}
This function allowes at any time to add or update a struct with a name into this table, and therfor aftwre to get this struxt using Posesample()

See Also: Posesample

Example Illustration

 missing image of Posesampleupdate(Name,PS,repl)

Syntax

new=Posesampleupdate(Name,PS,[repl])

Input Parameter

Name: Name to be used by Posesample()
PS: Pose struct
repl: true if it should be replaced if existing already

Output Parameter

new: true if added

Examples


PSX=jarvismemory
Posesampleupdate('Angiotable15',PSX,15)




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

Last html export of this page out of FM database by TL: 2025-09-21