STM32 Nucleo board save to workspace

4 ビュー (過去 30 日間)
as sc
as sc 2021 年 8 月 19 日
回答済み: Kshitij Chhabra 2021 年 9 月 2 日
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 日
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