How to log/save a Simulink signal to csv/xls file

Spent a day going through help files, examples, answers, weblogs, etc. and still can't figure out how to save my scope signals to a csv/xls file.
I tried datasets, workspace variables, scope logging, structures, etc. and nothing gives me a csv/xls file.
I wonder why this is not part of the examples provided in the help files.
Thanks.

Antworten (2)

Azzi Abdelmalek
Azzi Abdelmalek am 27 Apr. 2016

0 Stimmen

If you can export your signal to workspace, then you can use xlswrite to save your data in Excel file
Mason Karbassian
Mason Karbassian am 27 Apr. 2016

0 Stimmen

Did that in 50 different ways and hasn't worked yet. Please provide an example.
Thanks.

1 Kommentar

Is this an answer or a comment? you can post a comment by clicking comment on this answer

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 27 Apr. 2016

Kommentiert:

am 27 Apr. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by