In Matlab Function, how to use 'imread' function?

2 visualizzazioni (ultimi 30 giorni)
JeongEun An
JeongEun An il 7 Nov 2019
Risposto: SaiDileep Kola il 25 Mar 2021
I want to use 'imread' function in 'Matlab Function' simulink block.
But there are so many errors using 'imread' function.
One of error is 'That's not jpeg file.'
The image file was jpg file, and it didn't work either when I changed file to png.
I don't understand what is the problem.
It is simulink I designed.
1.PNG
I want to receive the file name by tcp, then do Image processing using that Image.
In Matlab Function 'detection', I wrote code like this.
2.PNG
Is there a problem in my simulink or code?

Risposte (1)

SaiDileep Kola
SaiDileep Kola il 25 Mar 2021
you may try with file format as described in second syntax here

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by