Find index of array of cell

2 ビュー (過去 30 日間)
Farshid Daryabor
Farshid Daryabor 2020 年 2 月 17 日
編集済み: Adam Danz 2020 年 2 月 17 日
I really thanks tell me how can I find index of arrays assigned with 'F' and then delete the files corresponding to 'F' .
Thanks

採用された回答

Adam Danz
Adam Danz 2020 年 2 月 17 日
編集済み: Adam Danz 2020 年 2 月 17 日
If you want to delete the file names from the files array....
load('example.mat')
select = strcmp(out, 'F');
files(select) = [];
% or
% files(select) = {''}; % replace with empty

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by