Syntax
u=smbCreateSG(SG,[SGName,SGcol,SFrame,EFrame])
Input Parameter
SG : | | Solid Geometry |
SGName : | | SG Name within SimMechanics; default is 'SOLID' |
SGcol : | | Solid Color ('w',.....'); default is SG.col |
SFrame : | | Optional Block to connect the Base |
EFrame : | | Optional Block to connect the Follower |
Output Parameter
u : | | name of SG block in Sim Mechanics |
Examples
load AIM_SGrobot.mat
smbNewSystem ('Test_System')
smbCreateSG (SG2,'Link2')
smbAddLine('World Frame Mechanism Solver/RConn1','Link2.Solid/RConn1')
Copyright 2016-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