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

 Respuesta aceptada

Birdman
Birdman el 26 de Dic. de 2017

0 votos

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 comentario

Walter Roberson
Walter Roberson el 26 de Dic. de 2017
Probably i was not assigned a value and has its default association with sqrt(-1)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Characters and Strings en Centro de ayuda y File Exchange.

Preguntada:

el 26 de Dic. de 2017

Comentada:

el 26 de Dic. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by