Delimiter must be a string (textscan R2010b)
    1 回表示 (過去 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 で Characters and Strings についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!