Clear Filters
Clear Filters

STM32 Nucleo board save to workspace

2 views (last 30 days)
as sc
as sc on 19 Aug 2021
Answered: Kshitij Chhabra on 2 Sep 2021
I have a STM32F411RE Nucleo board which I build a simulink model on. I would like to save the pin input/outputs in a .mat file or excel or similar so that I can have a look at what is going on.
Is there a possible way to do this?
I have tried using To File however nothing is saved in the directory.

Answers (1)

Kshitij Chhabra
Kshitij Chhabra on 2 Sep 2021
I'm not very sure about why you are facing this issue, therefore, could you please provide a detailed explanation along with the model you have buily so that we can investigate further?
Alternatively, instead of using the "To File" block, you can try exploring the utility of "To Workspace" block to log the signals as a timeseries in your base workspace. Further you can use the "save" command to store your variable in a .mat file.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!