필터 지우기
필터 지우기

Error using writematrix (line 134) Invalid parameter name: Range.

조회 수: 44 (최근 30일)
Neilabh Banzal
Neilabh Banzal 2020년 4월 6일
댓글: Tommy 2020년 4월 6일
I am getting the error:
Error using writematrix (line 134)
Invalid parameter name: Range.
for running the following function:
writematrix([1],'se_inputs.csv','Range','B2')
Despite this implementation being given in the documentation.
I am using R2019a in Windows.

채택된 답변

Tommy
Tommy 2020년 4월 6일
The parameter 'Range' is only valid when writing to a spreadsheet file. Per the documentation:
"The following standard file extensions are recognized by the writing function:
  • .txt, .dat, or .csv for delimited text files
  • .xls, .xlsm, or .xlsx for Excel spreadsheet files
  • .xlsb for Excel spreadsheet files supported on systems with Excel for Windows"
  댓글 수: 2
Neilabh Banzal
Neilabh Banzal 2020년 4월 6일
Thank you so mcuh @Tommy. I somehow missed that while reading the documentation.
Tommy
Tommy 2020년 4월 6일
Happy to help!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by