imadd command not working on my pc

I just discovered that when I try to run 'imadd' command on my PC, I get this error below, it was working perfectly ok before now,but when I did the same in a friend's PC, it worked. please what can I do to correct this.
>> a = imread ('c4.png'); b = imread ('c5.png'); c = imadd (a, b, 'uint16'); imshow(uint8(c/2), [])
??? Error using ==> imadd Too many input arguments.

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 5 月 9 日

0 投票

Which release are you using? The ability to specify an output class has never been fully documented in the main imadd() documentation, but the facility has appeared in one of the examples as far back as Mathworks's documentation archive goes (R13)

2 件のコメント

kiki
kiki 2011 年 5 月 9 日
I'm using 2007 version, the same version my friend is using.
Walter Roberson
Walter Roberson 2011 年 5 月 10 日
which -all imadd
in case you somehow have an old version that is getting used.

サインインしてコメントする。

タグ

質問済み:

2011 年 5 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by