Memory Block

How this block appears in a Simulink model?


What can be configured?

Configuration Parameter Selectable Option/Value Description
Mode Setup--Read--Write Select the operation mode
Buffer Name Select the name of the buffer which is going to hold the image data
Inherit from the camera block The Image Source Parameters Will be automatically acquired from the camera block
Image format The format of the image
Frame Width Width of the image frame
Frame Height Height of the frame
Buffer Size Buffer Size = Frame width * Frame height * 3

When to use this block?

This block is used to temporarily hold an image in the external RAM of ESP32.

How does this block work?

  • Mode: Setup
    In this mode a global buffer is created in the external RAM connected to ESP32.
  • Mode: Write
    In this mode an image could be written to the created global buffer.
  • Mode: Read
    In this mode an image saved in the global buffer could be read.

Previous : Image Concatenate Block
Next: String Processing Block

Also available in: PDF HTML TXT