Can Some one help me with this... I just started to work on Matlab and I wanted to make my first image processing project but I can't make the program righe. I don't know what's wrong. I wrote a Loop to access 34 files of Alpha numeric Characters having images of those characters.... I'm working on a custome OCR Model to train Neural Networks.

 채택된 답변

Walter Roberson
Walter Roberson 2020년 11월 25일

1 개 추천

Change the
+ '_'
to
+ "_"
You are currently doing numeric addition of characters, not appending. Using + to append only works for string() objects, but you are working with character vectors rather than string() objects. Changing that '_' to "_" happens to be in the right place to convert everything necessary into string objects.

댓글 수: 1

Mir AbdulRehman
Mir AbdulRehman 2020년 11월 28일
Thank You very much for the hint..... There were more then one errors in the code but as soon as i cleared the first one, the remaining were easier to clear-out....

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Convert Image Type에 대해 자세히 알아보기

질문:

2020년 11월 25일

댓글:

2020년 11월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by