MATLAB Answers

how can I represent a MATLAB signal in Microsoft excel?

1 view (last 30 days)
aryaman ashdhir
aryaman ashdhir on 11 May 2021
Commented: Walter Roberson on 23 Jun 2021
i have a matlab signal which i want to store in a microsoft exel file. how can i do it ?
  2 Comments
Walter Roberson
Walter Roberson on 23 Jun 2021
The only way to output more than one numeric value into a single Excel cell, is to convert it to text. The limit on the number of characters that can be stored in a single xlsx cell is 32767
When I see reference to signal I tend to think in terms of Simulink signal objects, which are structured objects with multiple pieces of information, such as time and values. It would take a bit of work to represent the entire signal object as text.

Sign in to comment.

Answers (1)

Chaitanya Mallela
Chaitanya Mallela on 23 Jun 2021
Use the function writematrix to store the data in a excel file. For more information, refer the documentation here.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by