SD Card File Read
Read data from an SD card
Add-On Required: This feature requires the Simulink Support Package for Arduino Hardware add-on.
Libraries:
Simulink Support Package for Arduino Hardware /
Common
Description
The SD Card File Read block reads data from files stored in an SD card that is connected to the hardware. The hardware communicates with the SD card over Serial Peripheral Interface (SPI). Specify the SD Card SPI CS Pin for communication in the Configuration Parameters dialog box.
If you simulate a model that contains the SD Card Read block without connecting the hardware, the block outputs zeros. For more information, see Block Produces Zeros or Does Nothing in Simulation.
Click View pin map to open the Arduino Pin Mapping table.
To know how to assign pins for the block, see Pin Mapping for Arduino Timer-Independent Blocks.
Note
You can now deploy a Simulink® model containing the SD Card File Read block on your Arduino® compatible ESP32 WROOM and ESP32 WROVER boards.
Ports
Input
Output
Parameters
Version History
Introduced in R2019b