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일
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