Delimiter must be a string (textscan R2010b)
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Jan
2013-10-15
What about:
str = textscan('is it a version issue, or it is not.', '%s', 'Delimiter', ' ,.');
2 个评论
Walter Roberson
2013-10-18
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Text Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!