smbPSLibCreateBlock
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SimMechanics
Introduced first in SolidGeometry 3.2, Creation date: 2016-12-25, Last change: 2025-09-14
Writes the code of a block as .ssc file
Description
By using the functions smbPSLibCreateBlock and smbPSLibCompile it is possible during runtime to create additonal SimScape block_functions.
See Also: smbNewSystem
, smbFilename
, smbPSLibname
, smbPSLibCompile
Example Illustration
Syntax
FName=smbPSLibCreateBlock(FString,[Fext,FName])
Input Parameter
FString: | | String of the code of a blockfuunction |
Fext: | | desired extension; default is '.ssc' |
FName: | | Filename to be used |
Output Parameter
FName: | | Analyze Filename only if FName ='' |
Examples
FName=smbPSLibCreateBlock (RFF);
smbPSLibCreateBlock (RFF_SVG,'.svg',FName);
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