STM32 Nucleo board save to workspace

1 次查看(过去 30 天)
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.

回答(1 个)

Kshitij Chhabra
Kshitij Chhabra 2021-9-2
Hi,
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!

Translated by