Delimiter must be a string (textscan R2010b)
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
joeDiHare
am 15 Okt. 2013
Kommentiert: Walter Roberson
am 18 Okt. 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 Kommentare
Akzeptierte Antwort
Jan
am 15 Okt. 2013
What about:
str = textscan('is it a version issue, or it is not.', '%s', 'Delimiter', ' ,.');
2 Kommentare
Walter Roberson
am 18 Okt. 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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Text Files 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!