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!