Main Content

On-board EEPROM Read

Read data from on-board Arduino EEPROM

Since R2024a

  • Arduino On-board EEPROM Read Block Icon

Simulink Support Package for Arduino Hardware / Common


Use the On-board EEPROM Read block to read nonvolatile data from the on–board Arduino® electrically erasable programmable read–only memory (EEPROM). The block reads and outputs one byte of data at a time from the on–board Arduino EEPROM.

This table lists the memory size and the accessibility address range of on–board EEPROM of these Arduino boards.

Arduino BoardSize of On–Board EEPROMAccessible Address Range
Arduino Mega 2560 and Mega ADK4096 bytes0 to 4095
Arduino Uno1024 bytes0 to 1023
Arduino Leonardo1024 bytes0 to 1023
Arduino Micro1024 bytes0 to 1023
Arduino Nano 3.01024 bytes0 to 1023



expand all

The block outputs a N-by-1 or 1-by-N matrix of data that is has read from the Arduino EEPROM.

Data Types: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32


expand all

Enter the starting memory address of the on–board Arduino EEPROM from where the read operation must begin.


The total size of the retrieved data type must not exceed the maximum number of addressable on–board Arduino EEPROM memory locations from the starting address specified in this parameter. For example, for the Arduino Uno board and uint8 input data type, the starting address of the EEPROM must not exceed 1021.

Select the data type of the data to read from the on–board Arduino EEPROM.

Specify the size of the data to read from the on–board Arduino EEPROM based on the data type specified in the Data type parameter.

Specify how often the block reads data from the on–board Arduino EEPROM.

Version History

Introduced in R2024a