bdeGetBlockSimulationFunctions

Gets simulation functions of block from libraryName.

Syntax

functions = bdeGetBlockSimulationFunctions(block, libraryName)

Inputs

block
The block to get the simulation functions from.
Type: block
libraryName
The name of the library to get the simulation functions of.
Type: string

Outputs

functions
The functions available for the block from the libraryName.
Type: list

Examples

Get the simulation functions of block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          loaded = bdeLoadBlockTemplate(block, 'atom');
          functions = bdeGetBlockSimulationFunctions(block, 'MathOperations/gainblk_r')
        

          
            functions =
            {
            [1,1] gainblk_r
            }