showing error on hash function

조회 수: 1 (최근 30일)
Mirwise
Mirwise 2023년 10월 10일
댓글: Dyuman Joshi 2023년 10월 10일
hash = hash('sha256', [K; Na; Nb])
Undefined function 'hash' for input arguments of type 'char'
  댓글 수: 2
Stephen23
Stephen23 2023년 10월 10일
Please post a link to the documentation for a function named HASH that you think you are calling.
Dyuman Joshi
Dyuman Joshi 2023년 10월 10일
In addition to Stephen's comment, you are over-writing the function by using it at as a variable name. That is not a good coding practice. Use a different variable name.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by