Effacer les filtres
Effacer les filtres

Error in Updating the text file

1 vue (au cours des 30 derniers jours)
Santosh Gnanasekaran
Santosh Gnanasekaran le 26 Déc 2017
Commenté : Walter Roberson le 26 Déc 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

Réponse acceptée

Birdman
Birdman le 26 Déc 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 commentaire
Walter Roberson
Walter Roberson le 26 Déc 2017
Probably i was not assigned a value and has its default association with sqrt(-1)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Entering Commands dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by