bdeGetBlockSimulationLibrariesOfType

Gets simulation libraries of block of a specific libraryType.

Syntax

libraries = bdeGetBlockSimulationLibrariesOfType(block, appendLibraryName, libraryType)

Inputs

block
The block to get the simulation libraries from.
Type: block
appendLibraryName (optional)
Boolean value that represents whether or not the library name should be appended. Default is false.
Type: Boolean
libraryType (optional)
The type of the libraries to get. Default is 'dll'.
Type: string

Outputs

libraries
The libraries available for the block of the specific type.
Type: list

Examples

Get the simulation libraries from block of the type dll:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          loaded = bdeLoadBlockTemplate(block, 'atom');
          libraries = bdeGetBlockSimulationLibraries(block, false, 'dll')
        

          
            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
            }