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

3 次查看(过去 30 天)
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
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 CenterFile Exchange 中查找有关 Introduction 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