bdeGetBlockSimulationFunctions
Gets simulation functions of block from libraryName.
Syntax
functions = bdeGetBlockSimulationFunctions(block, libraryName)
Inputs
- block
- The block to get the simulation functions from.
- libraryName
- The name of the library to get the simulation functions of.
Outputs
- functions
- The functions available for the block from the libraryName.
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
}