Delimiter must be a string (textscan R2010b)
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
joeDiHare
el 15 de Oct. de 2013
Comentada: Walter Roberson
el 18 de Oct. de 2013
The following code works on R2013a
str = textscan('is it a version issue, or it is not.','%s','Delimiter',{' ',',','.'});
but it does not on R2010b, where I receive the following error:
Delimiter must be a string.
Any solution to this? Can you confirm it is a version issue?
0 comentarios
Respuesta aceptada
Jan
el 15 de Oct. de 2013
What about:
str = textscan('is it a version issue, or it is not.', '%s', 'Delimiter', ' ,.');
2 comentarios
Walter Roberson
el 18 de Oct. de 2013
When something works on a newer version but not an older, the first suspicion should be that a routine was enhanced between the two versions.
Más respuestas (0)
Ver también
Categorías
Más información sobre Text Files en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!