That error message indicates that the command is not found. Does the other computer have the Image Processing Toolbox? What do you get you type
>> which imrotate
at the command prompt?
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!