The immse function was introduced in R2014b.
If you have R2014b or later:
Type ver in the Command Window to see if you have the Image Processing Toolbox installed.
If you do, then enter these two lines in the Command Window:
restoredefaultpath
rehash toolboxcache
and try again.
