Why Unrecognized function or variable 'hypercube' occurred?

2 ビュー (過去 30 日間)
Devendra
Devendra 2024 年 3 月 27 日
回答済み: Abhinav Aravindan 2024 年 3 月 28 日
ds_indices_caf
img_path = 'C:\Data\'
20240129_MAWANA_SUBSET.img
Unrecognized function or variable 'hypercube'.
Error in ds_indices_caf (line 19)
img = hypercube(img_file.name);
>>
I have installed image processesing toolbox with installation of trial version of R2024a. Please suggest me twhy his error has occured.
Deva
  2 件のコメント
Infinite_king
Infinite_king 2024 年 3 月 27 日
Hi Devendra, Enter the following command in MATLAB command window,
rehash toolboxcache
Close and reopen the MATLAB application. See, it this resolves the issue.
Walter Roberson
Walter Roberson 2024 年 3 月 27 日
hypercube() requires the Image Processing Toolbox

サインインしてコメントする。

回答 (1 件)

Abhinav Aravindan
Abhinav Aravindan 2024 年 3 月 28 日
I understand that you are facing an error when trying to use the "hypercube" function. To utilize "hypercube", you need to have both the Image Processing Toolbox and the “Image Processing Toolbox Hyperspectral Imaging Library” installed. This can be done using the Add-On Explorer in MATLAB.
To open the Add-On Manager:
1. In MATLAB, go to the Home tab.
2. Select Add-Ons > Manage Add-Ons.
I hope this resolves your issue. For further details, please refer to the links below:

カテゴリ

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

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by