Contenido principal

Algorithm Step Function Execution

Type of function execution trigger

Model Configuration Pane: TLM Generator / TLM Processing

Description

Choose the type of function execution trigger you want to use in the generated TLM component.

Settings

SystemC Thread (default) | Callback Function | Periodic SystemC Thread

Default: SystemC™ Thread

  • SystemC Thread: Event triggers system scheduler to execute function

  • Callback Function: Function is executed as soon as input buffer is full or command is written to command register

  • Periodic SystemC Thread: Function is executed by a periodic thread. The period is derived from the Simulink® sample rate.

Programmatic Use

Parameter: tlmgAlgorithmProcessingType
Type: string
Value: 'SystemC Thread' | 'Callback' | 'Periodic SystemC Thread'
Default: 'SystemC Thread'

Version History

Introduced in R2010a