Clear Filters
Clear Filters

Undefined variable 'imread'

3 views (last 30 days)
Ghassan mahmood
Ghassan mahmood on 7 Aug 2018
Answered: Savio Tran on 7 Aug 2018
Hi everyone when i need to start working on image processing , the first problem that facing me in 'imread' instruction as follows :
imread{'ghassan.jpg'}
Undefined variable "imread" or class "imread".
I install image processing tolls but still having this problem. I would be appreciated if one can help me.

Answers (1)

Savio Tran
Savio Tran on 7 Aug 2018
You are using curly brackets when you should be using parentheses. Instead, try imageData = imread('ghassan.jpg')

Community Treasure Hunt

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

Start Hunting!