필터 지우기
필터 지우기

Excel data import in simulink

조회 수: 23 (최근 30일)
Ramakrishnan Vaidyanathan
Ramakrishnan Vaidyanathan 2017년 7월 4일
댓글: Bibek 2023년 2월 14일
I wanted to add data in simulink from an excel file. I get the error" 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."
  댓글 수: 1
Bibek
Bibek 2023년 2월 14일
I had the same issue in 2021b. I did the following which helped.
  1. ensured the selected worksheet is within the filepath
  2. created a new worksheet tab for input data only
  3. deleted the colum headers (time, etc), the data would start from A1:xx
Still I am not sure, why I got the issue as the other spreasheets worked fine regardless of the changes above.

댓글을 달려면 로그인하십시오.

답변 (1개)

Akhilesh Mishra
Akhilesh Mishra 2017년 7월 11일
Please refer to the 'Range' section in the following documentation link for 'From SpreadSheet' block. If you have blank cells in the excel sheet you can omit them by specifying the correct indexing.
  댓글 수: 1
Ramakrishnan Vaidyanathan
Ramakrishnan Vaidyanathan 2017년 7월 12일
Thank you for the answer. I shall follow. Ramakrishnan V

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by