imresize error. "undefined function 'imresize' for input arguments of type 'uint8'." I have the image processing toolbox, but I cannot use its functions.

2 ビュー (過去 30 日間)
Ben Lahner
Ben Lahner 2016 年 10 月 11 日
回答済み: Soma Ardhanareeswaran 2016 年 10 月 21 日
The above error occurs whenever I try and run a script with imresize. I tried it with imrotate, and again, matlab seems to not recognize the function. When I type "ver" in the command line, I get a list of all the toolboxes I have, and Image Processing Toolbox is on there.
However, when I enter "license('test', 'image_toolbox')" I get zero, which makes me believe I don't have it? Just in case this is relevant, I have a student license for matlab, but I also started working in a research lab. The lab professor then downloaded a handful of relevant toolboxes to my computer which includes this image processing toolbox. I'm using Psychtoolbox and that works fine, but the same license test as above returns zero for the other mathworks toolboxes. This is run on Mac OS Sierra 10.12.
Thanks for the help!

回答 (1 件)

Soma Ardhanareeswaran
Soma Ardhanareeswaran 2016 年 10 月 21 日
The following command will list the set of toolboxes in your MATLAB setup
1. for MATLAB versions R2012b and later:
>> ver -support
2. for MATLAB versions R2012a and earlier:
>> ver
If the Image Processing Toolbox is found, but the error persists, try running the following commands:
restoredefaultpath
rehash toolbox
savepath
Reach out to customer support if the issue persists.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by