bdeGetBlockSimulationLibraries
Gets simulation libraries of block.
Syntax
libraries = bdeGetBlockSimulationLibraries(block, appendLibraryName)
Inputs
- block
- The block to get the simulation libraries from.
- appendLibraryName (optional)
- Boolean value that represents whether or not the library name should be appended. Default is false.
Outputs
- libraries
- The libraries available for the block.
Examples
Get the simulation libraries of block:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
loaded = bdeLoadBlockTemplate(block, 'atom');
libraries = bdeGetBlockSimulationLibraries(block)
libraries =
{
[1,1] MathOperations/gainblk_r
[2,1] MathOperations/gainblk_z
[3,1] MathOperations/gainblk_i32n
[4,1] MathOperations/gainblk_i32s
[5,1] MathOperations/gainblk_i32e
[6,1] MathOperations/gainblk_i16n
[7,1] MathOperations/gainblk_i16s
[8,1] MathOperations/gainblk_i16e
[9,1] MathOperations/gainblk_i8n
[10,1] MathOperations/gainblk_i8s
[11,1] MathOperations/gainblk_i8e
[12,1] MathOperations/gainblk_ui32n
[13,1] MathOperations/gainblk_ui32s
[14,1] MathOperations/gainblk_ui32e
[15,1] MathOperations/gainblk_ui16n
[16,1] MathOperations/gainblk_ui16s
[17,1] MathOperations/gainblk_ui16e
[18,1] MathOperations/gainblk_ui8n
[19,1] MathOperations/gainblk_ui8s
[20,1] MathOperations/gainblk_ui8e
}