error with "imrotate" function

The matlab version I am using now is MATLAB 2009a. The function 'imrotate' worked perfectly previous, but I got some error when I was doing the same function to rotate a image matrix in different computer.
??? Undefined function or method 'imrotate' for input arguments of type 'double'.
Error in ==> Untitled2 at 12 Irotateref = imrotate(Iref,-0.4655179,'bilinear','crop');
So what's happened? Do I need to adjust something?

回答 (1 件)

the cyclist
the cyclist 2011 年 8 月 28 日

0 投票

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?

カテゴリ

ヘルプ センター および File ExchangeImage Processing Toolbox についてさらに検索

質問済み:

2011 年 8 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by