Issue in undefined function in conversion with 2016a version

Hi, I am facing a problem in conversion of RGB to gray scale image using rgb2gray function in the script. It shows that the function is not defined... When I use this is the command window, it works .. but while using that function in the script or the matlab, it doesn't work... Can you help me out at this ???

Respuestas (1)

yanqi liu
yanqi liu el 30 de Sept. de 2021
sir,may be you should check the image data is valid

Preguntada:

el 25 de Ag. de 2021

Respondida:

el 30 de Sept. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by