Import excel data - generate function option
조회 수: 9 (최근 30일)
이전 댓글 표시
Hi,
I have an excel file that I have to import using the 'Generate Function' option, however I am having trouble naming the file as I keep getting errors.

I have changed the name on the first line how the example mentions but I still get the red errors. Can anyone help me or point me out to what I'm doing wrong please. Thanks.
댓글 수: 0
답변 (1개)
Walter Roberson
2018년 8월 12일
function lines can only name variables or use ~ to skip variables.
Think for a moment: suppose you were able to pass a string in the first position, then how would the code know which variable name the string was supposed to be associated with?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!