hash function giving error

3 views (last 30 days)
abdul rehman
abdul rehman on 10 Oct 2023
Answered: Dyuman Joshi on 10 Oct 2023
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

Answers (1)

Dyuman Joshi
Dyuman Joshi on 10 Oct 2023
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().

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!