smbNewSystem

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SimMechanics
Introduced first in SolidGeometry 3.0, Creation date: 2016-11-10, Last change: 2025-09-14

SimMechanics creates an empty new system

Description

Attention: An existing open system would be cleared by this approach.
The system name must fulfill the conditions of a Matlab function name (no spaces, no starting number, etc.)


See Also: smbCreateSubsystem , smbCreateSG , smbCreateJoint , smbConvertSubsystem

Example Illustration

 missing image of smbNewSystem (SName,grav)

Syntax

smbNewSystem(SName,[grav])

Input Parameter

SName: Desired name for new system (No spaces allowed)
grav: gravity vector; default is 5.66 m/s2 * [-1 -1 -1] (9.81)

Examples

Open an new SimMechanics Multi Body Sheet:
smbNewSystem ('test_smb_lib')




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