External Library

Description
External Library
This model allows you to use compiled library as control block in SIMBA (64-bit dll on Windows). The library must export the functions defined in simba_library.h. An example is available here
Library
Control > Code
Parameters
| Property | Display Name | Parameter Type | Description |
|---|---|---|---|
| NumberOfInputs | Number of Inputs | IntParameter | Number of Inputs |
| NumberOfOutputs | Number of Output | IntParameter | Number of Output |
| LibraryFilePath | Library File Path | FilePathParameter | Path to the Source File |
| SamplingTime | Sampling Time [s] | DoubleParameter | Sampling Time |
Pins
| Property | Pin Name | Type | Description |
|---|---|---|---|
| - | inputs[0] | ControlIn | inputs[0] |
| - | inputs[1] | ControlIn | inputs[1] |
| - | outputs[0] | ControlOut | outputs[0] |
| - | outputs[1] | ControlOut | outputs[1] |
Default Size
| Width | Height |
|---|---|
| 10 | 10 |