imread - "Unexpected MATLAB operator" error when reading image -


i trying read image in matlab using following command found in matlab docs:

a = imread(d:/img,png) 

but problem matlab can not read path , says : error: unexpected matlab operator.

i tried using, /, //, \ , \ in filepath, none of them worked.

please let me know how working.

you need put ' around filename , file named 'img.png' (a dot not comma)

a = imread('d:/img.png') 

Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -