필터 지우기
필터 지우기

Error in Updating the text file

조회 수: 1 (최근 30일)
Santosh Gnanasekaran
Santosh Gnanasekaran 2017년 12월 26일
댓글: Walter Roberson 2017년 12월 26일
IntString2 = sprintf('<FileName>',cFile(i).name,'</FileName>')
and i get the below error message
"Subscript indices must either be real positive integers or logicals."
Would be great on any suggestions

채택된 답변

Birdman
Birdman 2017년 12월 26일
Probably i starts from 0, it should start from 1 and it should be integer at any circumstances. This happens probably in a for loop. Please check it.
  댓글 수: 1
Walter Roberson
Walter Roberson 2017년 12월 26일
Probably i was not assigned a value and has its default association with sqrt(-1)

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by