hypercube or hyperpca not found. Not even in R2020b .why ?
18 views (last 30 days)
Tahira Batool on 20 Jan 2021
I was trying to using commands related hyperspectral imaging in my matlab version R2016b , but error was generated that functions not found . I installed Matlab R2020b but this version also gives an error that " undefined function "
what should I do ?
Subhadeep Koley on 22 Jan 2021
hypercube, hyperpca and other hyperspectral related functions come under Image Processing Toolbox's Hyperspectral Imaging Library support package, and can be downloaded from here.
In order to use the function you need to install the both the Image Processing Toolbox and Hyperspectral Imaging Library support package.
Also, MATLAB R2020b or higher is required in order to use the Hyperspectral Imaging Library support package.
More Answers (1)
Steven Lord on 20 Jan 2021
Both those functions are part of Image Processing Toolbox. Check the output of the ver function to determine if you have this toolbox installed. If you do have it installed, use license to determine if a license for this toolbox is available. [Your company or educational institution may have licenses but they may all be in use when you're trying to use it.]
The notes at the end of their documentation pages indicate they were each introduced in release R2020a, so even if you had Image Processing Toolbox installed and have an available license in your older release those functions would not be available.