smbGetAllPorts

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 returns the port of block

Description

BEHAVIOUR CHANGE Since 2020a, All Ports see to be either a RConn or a Lconn and the simple /Conn disappeared during 2019a/b

See Also: smbGetPorts , smbGetConnectedBlocks

Example Illustration

 missing image of smbGetAllPorts(SName)

Syntax

[PL,CL]=smbGetAllPorts(SName)

Input Parameter

SName: Name of System or Block; if empty gcs is used

Output Parameter

PL: List of all Port Strings
CL: List of all Connectable Ports

Examples


smbGetAllPorts('SG_LIB_EXP_20/R1')




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