Printf Block

How this block appears in a Simulink model?


What can be configured?

Configuration Parameter Selectable Option/Value Description
String input type String variable--Character vector Select the input type
Sample time (sec) -1 (inherited) or specify Specify the sample time

When to use this block?

This block can be used to print data to a serial monitor.

How does this block work?

This block serves as the ‘printf’ function in C programming. This block is for advanced users to debug code using a serial monitor. Check Modify Simulink generated C code in ESP-IDF for more information on using a serial monitor.

Previous : Mesh Receiver
Next : System Time Block

Also available in: PDF HTML TXT