MATLAB Answers

FROM SPREADSHEET -BLOCK SIMULINK

15 views (last 30 days)
Harshal Patel
Harshal Patel on 17 May 2020
Answered: Monika Jaskolka on 9 Feb 2021
I am facing a below problem
Caused by: The sheet contains either empty signal headings or leading/trailing blank cells. For the header row, either provide values for each column or clear the values for all the columns.
no blank cells
i attached my sheet I need only one rows data
  1 Comment
Madhav Thakker
Madhav Thakker on 9 Feb 2021
Hi Harshal,
Can you share your code? What are you trying to do with the csv file?

Sign in to comment.

Answers (1)

Monika Jaskolka
Monika Jaskolka on 9 Feb 2021
Please read about From Spreadsheet blocks here: https://www.mathworks.com/help/simulink/slref/fromspreadsheet.html
The CSV file you are using is not in an acceptable format:

Community Treasure Hunt

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

Start Hunting!

Translated by