Block: Task Label (Simulink only)



PIC


Description:

With this block a (sub)system can be given a label which is used for code generation. Blocks with a dedicated Task Label will be grouped into a dedicated X2C update function.

If multiple Task Label blocks are found within a (sub)system, the block that was found first is used as active Task Label. A warning is issued to inform about this issue and the actively used Task Label.

Nested subsystems inherit the Task Label of the parent (sub)system if the nested subsystem does not have a Task Label block. If a nested subsystem does have a Task Label block, the inheritance is overriden by this Task Label block. Any children subsystems will now inherit their Task Label from the nested subsystems’ Task Label block. A warning is issued to inform about the overriden Task Label.

If the label is "TI_CLA", additional CLA code is generated. This additional code is designed to be used by a CLA (Control Law Accelerator) unit available on certain Texas Instruments processors.