reverse operation to 'strsplit'
    7 ビュー (過去 30 日間)
  
       古いコメントを表示
    
Hi! I have a cell like 'temp'. And I need to transform it (by adding '_') to get a char like 'a'. How can this be generated?
a = 'test_4_AA_5.txt';
temp = strsplit(a,'_');
1 件のコメント
  Stephen23
      
      
 2024 年 1 月 21 日
				
      編集済み: Stephen23
      
      
 2024 年 1 月 21 日
  
			You have been using this forum since 2020... now would be a good time to learn to use the MATLAB documentation: scroll to the bottom of the STRSPLIT documentation to find links to articles and related functions (e.g. STRJOIN).
Looking at the documentation of the function you are already using is easy and a good place to start solving your own questions.
採用された回答
その他の回答 (0 件)
参考
カテゴリ
				Help Center および File Exchange で Cell Arrays についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!