How to write an automatically generated text on an image in matlab?

2 次查看(过去 30 天)
Hello.
I have an image with a number on it. I have detected and recognised the number in the picture and I would like to write the number matlab has recognised on the image. I tried using the text() command but in vain.
I wrote it as such :
text(120, 40, '%s', letter)
But this is wrong. Can anyone please help me with the syntax if what I want to be written in the image is stored in the variable 'letter'?
Can anyone please help me?
Thank you.

采纳的回答

Walter Roberson
Walter Roberson 2017-2-18
text(120, 40, letter)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by