Hello. I'm working on a PET system. And I need to extract information from the aquisition files names.
조회 수: 2 (최근 30일)
이전 댓글 표시
I have a file that is called, for example:
"13-Jul-2016_09h44_1turn_0p025s_0p9bot_0p9top_range45"
and I want to extract some information about aquisitions, like the number of turns (1turn), for example. How can I do it? Thank you for your time
댓글 수: 0
채택된 답변
Walter Roberson
2016년 7월 21일
name_parts = strsplit(FileName, '_');
num_turns = str2double( name_parts{3}(1) );
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Polynomials에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!