Log Event
R2026bLog an execution profiling event
Libraries:
Simulink Real-Time /
Profiling
Description
The Log Event block inserts a user-defined event into the execution profiling event stream when triggered. The user-defined event includes a channel ID, a code number, and a value number.
Examples
Ports
Input
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"slrealtimeproflib/Log Event"
Example: add_block("slrealtimeproflib/Log Event","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.
Extended Capabilities
Version History
Introduced in R2020b
