Undefined function 'generateParamY' for input arguments of type 'char'

I am getting an error for my code, the error shown is-
Undefined function 'generateParamY' for input arguments of type 'char'.
Error in BEProj (line 5)
[y_1_0, y_2_0, y_3_0] = generateParamY(subKey);
The code is-
clc; clear all; close all;
subKey = '';
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 help me with it

댓글 수: 1

Hi Deep,
Could you please share where you found the reference to "generateParam" function?
As per my understanding there is no pre-defined MATLAB function by this name.
If you want to use a custom function then consider having the function definition in the same script or as a separate function file added to the current MATLAB path.
Hope this helps!

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Entering Commands에 대해 자세히 알아보기

질문:

2021년 10월 19일

댓글:

2024년 9월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by