Unrecognized function 'enviwrite' though Image Processing Toolbox Hyperspectral Imaging Library add-on is installed

조회 수: 1 (최근 30일)
I've installed the Image Processing Toolbox Hyperspectral Imaging Library add-on version 23.10, (I already have Image Processing toolbox installed) in matlab version R2023a, and when I try to run enviwrite, I got: «Unrecognized function or variable 'enviwrite'». In turn enviinfo does run (but I belive is not from the same package). My OS is Linux Mint 21.1 Vera 64-bit. Why is this happening? Can anyone help me? Thank you.
EDIT: The same is happening with the ONLINE example:
  댓글 수: 4
Pedro
Pedro 2023년 6월 22일
I've already sent a message to the them reporting this incident/bug. thank you

댓글을 달려면 로그인하십시오.

답변 (2개)

Abhishek Tripathi
Abhishek Tripathi 2023년 6월 23일
At present, the Hyperspectral Imaging Library add-on is not supported in MATLAB Online. Kindly download the support package and execute it within your installed MATLAB environment. If the problem persists, please inform us, and we will investigate further to assist you
download our Image Processing Toolbox™ Hyperspectral Imaging Library MATLAB®
For more info. see the documentation here
  댓글 수: 1
Pedro
Pedro 2023년 6월 23일
Dear Tripathi,
If you take time to read my OP you will see that issue is related to Image Processing Toolbox™ Hyperspectral Imaging Library MATLAB add-on not working in the desktop/laptop and not online.
Thank you for the reply, though.

댓글을 달려면 로그인하십시오.


Abhishek Tripathi
Abhishek Tripathi 2023년 6월 23일
편집: Abhishek Tripathi 2023년 6월 23일
Hi Pedro
"Enviinfo is also included in this library. We have tested it on our Windows and linux (Debian 11) machine and it is functioning properly. Based on the error message, it seems that 'hypercube' is also an unrecognized function. There could be two possible issues.
Firstly, the library may not have been installed correctly. Can you manually locate the downloaded library? The 'hypercube' and 'enviinfo' files should be found in the following path: \MATLAB\SupportPackages\R2023a\toolbox\images\supportpackages\hyperspectral\hyperformats.
Secondly, the issue could be specific to the operating system you mentioned, which is Linux Mint 21.1 Vera 64-bit. Please try with these steps and let us know. We will investigate this further."
Thanks
Abhisheek
  댓글 수: 1
Pedro
Pedro 2023년 6월 23일
Hi Tripathi,
I followed the steps on the link you sent. Then, from matlab Command Line:
« Did you mean:
>> addpath(genpath(supportPackageDirectory))
Unrecognized function or variable 'supportPackageDirectory'. »
> matlabshared.supportpkg.getInstalled
Name Version Base Product
------------------------------------------------------ ------- ------------------------
Image Processing Toolbox Hyperspectral Imaging Library 23.1.0 Image Processing Toolbox
Now using command:
MATLAB Version: 9.14.0.2286388 (R2023a) Update 3
MATLAB License Number: xxxxxx
Operating System: Linux 5.15.0-75-generic #82-Ubuntu SMP Tue Jun 6 23:10:23 UTC 2023 x86_64
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.14 (R2023a) License xxxxxx
Curve Fitting Toolbox Version 3.9 (R2023a) License xxxxxx
Image Acquisition Toolbox Version 6.7.1 (R2023a) License xxxxxx
Image Processing Toolbox Version 11.7 (R2023a) License xxxxxx
Mapping Toolbox Version 5.5 (R2023a) License xxxxxx
Optimization Toolbox Version 9.5 (R2023a) License xxxxxx
Parallel Computing Toolbox Version 7.8 (R2023a) License xxxxxx
Statistics and Machine Learning Toolbox Version 12.5 (R2023a) License xxxxxx
Symbolic Math Toolbox Version 9.3 (R2023a) License xxxxxx
And:
which hypercube -all
/home/pedro/Documents/MATLAB/SupportPackages/R2023a/toolbox/images/supportpackages/hyperspectral/hyperformats/hypercube.m % hypercube constructor
>>
enviwrite
Unrecognized function or variable 'enviwrite'
Also my add-on manage:
More:
My matlab is installed on the following folder:
/opt/MATLAB/

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Hyperspectral Image Processing에 대해 자세히 알아보기

태그

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by