Gathering data from ADXL345 from Simulink?

I have an ADXL345 and an Arduino Uno. I am trying to gather data from the ADXL345, but I am not able to write the program for it, or understand existing codes because of my low programming knowledge.

What kind of things from the Simulink library can I gather and turn into a block diagram in order to upload the model to the Arduino and thus bypass the programming?

As far as i know it is not yet possible to directly write a programma in simulink to read an adxl345 sensor. This is due to the fact that you need to use I2C or SPI to read the sensor. Tutorials to write programs for I2C or SPI communication can be found at and ADXL345 Hookup Guide - both have workt great for my.

Greetings Tom.