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

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

Products

Release

R2020b

Asked:

on 10 Oct 2023

Answered:

on 10 Oct 2023

Community Treasure Hunt

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

Start Hunting!