[Warning: Function image has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] how i can compromise the error

i am trying to interface both simulink and arduino and i am getting an error as, [Warning: Function image has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] can i know how to remove this error.

Answers (2)

If you have any custom functions that match the same name as built-in functions you could be getting these error messages. If you do not, then try the following commands in MATLAB Command Window
>> rehash toolboxcache >> restoredefaultpath >> savepath
Try
>> which -all image
you should see only the built in functions, not any function of your own that you wrote.
>> which -all image
built-in (C:\Program Files\MATLAB\R2015b\toolbox\matlab\specgraph\image)

Tags

Asked:

on 1 Oct 2015

Answered:

on 10 Oct 2015

Community Treasure Hunt

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

Start Hunting!