Trying to remove all columns that have "_Units"

3 ビュー (過去 30 日間)
ZH
ZH 2020 年 7 月 17 日
コメント済み: ZH 2020 年 7 月 17 日
I tried finalnbs(:,strncmp(finalnbs.Properties.VariableNames, '_Units', length('_Units'))) = [];.. did not get much.

採用された回答

madhan ravi
madhan ravi 2020 年 7 月 17 日
編集済み: madhan ravi 2020 年 7 月 17 日
finalnbs(:,contains(finalnbs.Properties.VariableNames, '_Units')) = []
  1 件のコメント
ZH
ZH 2020 年 7 月 17 日
Thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNumeric Types についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by