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

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 comentarios

First, run this from a script or your Command Window:
which enviwrite -all
'enviwrite' not found.
Since it is also a problem with MATLAB Onlline (and here as well, apparently, although there is a link to the enviwrite documentation), that would appear to rule out a problem with your installation.
Please Contact Support and then post back here with MathWorks’ response. Include the URL of this thread in your message to MathWorks so that you do not have the repeat or describe all of this.
Hi Star Strider,
Thank you for reaching out.
I've run which enviwrite -all, and the result was «enviwrite' not found». So you suggest me to contact the matlab support team reporting this 'incident'?
I've already sent a message to the them reporting this incident/bug. thank you

Iniciar sesión para comentar.

Respuestas (2)

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 comentario

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.

Iniciar sesión para comentar.

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 comentario

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/

Iniciar sesión para comentar.

Categorías

Productos

Versión

R2023a

Etiquetas

Preguntada:

el 22 de Jun. de 2023

Comentada:

el 23 de Jun. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by