choosing between two array location

1 回表示 (過去 30 日間)
Ihaveaquest
Ihaveaquest 2022 年 8 月 9 日
コメント済み: Rik 2022 年 9 月 28 日
my code works when my parced string reads thorugh and places the wanted string in cell 5 but the modify version that i am working on collects two items and places the one i need in cell5 and the unwanted in cell6 and it crashes my script after that.
crashes here due to two cells with data instead of one [] [] [] [] [5] [6] it i may prevent it before getting here from reading string in multiple cells better but after it does fix would be fine as well - im stuck
channel_digits = regexp(channel_data{channel_location}, '\d', 'match');
what may i add so it chooses information in cell5
  5 件のコメント
Ihaveaquest
Ihaveaquest 2022 年 9 月 27 日
yes just want the first cell element - sorry i was not very clear i am new to matlab
Rik
Rik 2022 年 9 月 28 日
Please consider using interpunction when writing text. It really helps to understand what you write.
Is your question now solved? Or do you still have a problem?

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

回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by