I am trying to have a camera recognize a text with an if statement attached to that specific text. Any pointers? The if words == statements were my attempt at spreading a wider range of answers.

6 ビュー (過去 30 日間)
  1 件のコメント
Nick Boccuzzi
Nick Boccuzzi 2020 年 3 月 4 日
~~ the text I was testing with was simply 123456 as you could assume from the code~~

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

回答 (1 件)

Madhav Thakker
Madhav Thakker 2020 年 12 月 22 日
Hi Nick,
You can use contains to check for any specific patterns in the original string.
Hope this helps.

Community Treasure Hunt

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

Start Hunting!

Translated by