Having Unrecognized function or variable (name)
조회 수: 2 (최근 30일)
이전 댓글 표시
I am having a Error in my code as-
Unrecognized function or variable 'keyGen'.
Error in BEProj (line 2)
subKey = keyGen()
The code which I am trying to run is-
clc; clear all; close all;
subKey = keyGen()
save('subkey.mat','subKey');
load('subkey.mat');
[y_1_0, y_2_0, y_3_0] = generateParamY(subKey);
[x_0_1 x_0_2 x_0_3] = generateParamX(subKey);
[epsilon, mu, alpha_1, alpha_2, alpha_3] = generateParam(subKey);
newper
df
decry
INVPER
INVIMAGE
Can anyone please help me solve this error ?
댓글 수: 0
답변 (1개)
Sulaymon Eshkabilov
2021년 10월 18일
Note that the assigned variable value for keyGen() has to be predefined or initialized before assigning its value to another variable.
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!