Showing results for 
Search instead for 
Did you mean: 

Log Data externally with STM32F767ZI and Simulink


Hey everyone,

I want to use a STM32F767ZI to develop driving safety functions for electric scooters.

The functions and Code are developed on Simulink using the Support Package for nucleo boards.

I would like to log data from the MCU directly to a SD-Card or something similar. Does somebody know an approach to do this? One way would be to use a SD-Card via SPI, but I do not know if that is possible within the Simulink support package.

I would be glad if somebody has done something similar or could give me advice how I could reach my goal.

Thank's in advance!

ST Employee

Hello @LKlau.1​,

Here is an example that might help!

Data Logger on Arduino UNO - File Exchange - MATLAB Central ( 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.


Did anyone succeed using the approach reported here

Thank you in advance.


do you have an example with STM Nucleo board? the use of the two solutions (Arduino and Nucleo) is very different when it comes to the configuration of the board itself.

Thank you in advance