MATLAB: Script won’t run..

script

I have written a script quadpoly.m into my current path.After running it,i get the message
'??? Undefined function or variable 'quadpoly'.'
Thereafter i tried 'which quadpoly' and i get the response
' Has no license available '
I am using matlab on the university's server.By the way, the script doesn't depend on any toolbox.

Best Answer

Dear All,
Thank You.One of my functions was named IMSHOW which is a matlab function in image processing toolbox. Since i didn't have Image processing toolbox, it was not recognizing the other functions in the folder.
Remedy : I deleted the function and everything works perfectly now. Thank you.
Related Question