フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Read file name to regexp function

2 ビュー (過去 30 日間)
Damith
Damith 2015 年 5 月 7 日
閉鎖済み: Walter Roberson 2015 年 5 月 8 日
Hi,
Can somebody help me to modify the code below to obtain the output: matchStr = 'TRMM_1998_01_newntcl.csv
str = 'TRMM_1998_01_newntcl.csv';
expression = '\w*TRMM';
month_to_match = 1;
str_for_month = sprintf('%02d', month_to_match);
matchStr = regexp(str,expression,'match');

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by