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 Commento

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!

Accedi per commentare.

Risposte (0)

Categorie

Richiesto:

il 19 Ott 2021

Commentato:

il 26 Set 2024

Community Treasure Hunt

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

Start Hunting!

Translated by