Skip to content

C Code (External File)

Symbol

Description

C Code (External File)

The differences between the C Code (External File) and the C Code models are:

  • The source code must be edited outside SIMBA in an external file. Use the Source file path parameter to point to the .c file.
  • The code is compiled in Debug mode without optimization(lower performance).
  • It is not possible to have multiple instances of the C Code(External File) model pointing to the same source file.

The "C Code" model allows the user to write C Code directly in SIMBA to build custom control models. See this documentation for more information.

Library

Control > Code

Pins

Name Description

Parameters

Name Description
NumberOfInputs Number of Inputs
NumberOfOutputs Number of Inputs
SourceFilePath Path to the Source File