I would like to use the xlsinfo function as follows:
[status,sheets] = xlsfinfo(strcat(files.in.dir,files.in.name))
The actual tabs I may have in my file may be named as '1_4G_BW0.2' or '40_3G_BW5'.
How do I easily check if any of the tab names contain 'BW' as part of their name?
Is there any quick way to check if an Excel sheet contains a specific sheet?
Thanks!

 채택된 답변

Walter Roberson
Walter Roberson 2016년 3월 28일

1 개 추천

bw_idx = find( ~cellfun(@isempty, strfind(sheets, 'BW')) );

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Characters and Strings에 대해 자세히 알아보기

질문:

2016년 3월 28일

댓글:

2016년 3월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by