Filter löschen
Filter löschen

Error in Updating the text file

1 Ansicht (letzte 30 Tage)
Santosh Gnanasekaran
Santosh Gnanasekaran am 26 Dez. 2017
Kommentiert: Walter Roberson am 26 Dez. 2017
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

Akzeptierte Antwort

Birdman
Birdman am 26 Dez. 2017
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 Kommentar
Walter Roberson
Walter Roberson am 26 Dez. 2017
Probably i was not assigned a value and has its default association with sqrt(-1)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by