hash function giving error

the code
h = keyHash([1 2 3 4])
error
Unrecognized function or variable 'keyHash'.
I have copied the code from matlab site bit still not working

回答 (1 件)

Dyuman Joshi
Dyuman Joshi 2023 年 10 月 10 日

0 投票

The function keyHash was introduced in R2022b. And since you are working with R2020b, the function does not exist in your MATLAB library.
You will need to upgrade your version to R2022b or newer versions to use keyHash().

カテゴリ

ヘルプ センター および File ExchangeData Type Identification についてさらに検索

製品

リリース

R2020b

タグ

質問済み:

2023 年 10 月 10 日

回答済み:

2023 年 10 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by