필터 지우기
필터 지우기

reverse operation to 'strsplit'

조회 수: 6 (최근 30일)
Alberto Acri
Alberto Acri 2024년 1월 21일
편집: Stephen23 2024년 1월 21일
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
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.

댓글을 달려면 로그인하십시오.

채택된 답변

Dyuman Joshi
Dyuman Joshi 2024년 1월 21일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Characters and Strings에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by