SDL Video Display
R2026bDisplay video using SDL
Libraries:
Raspberry Pi Blockset /
Audio and Video
Description
The SDL Video Display block displays video data using the Simple
DirectMedia Layer (SDL). This block accepts planar video data in the
RGB or YCbCr 4:2:2 formats.
You can use up to 20
SDL Video Display blocks in a Simulink® model and deploy the model on a Raspberry Pi® board.
Note
Simulink Online™ does not support deploying the SDL Video Display block on the Raspberry Pi 4B hardware board.
To generate C/C++ code for this block, you must have an Embedded Coder® license.
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.
"raspberrypiAVlib/SDL Video Display"
Example: add_block("raspberrypiAVlib/SDL Video Display","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2013a