Azzera filtri
Azzera filtri

What does the following error means

1 visualizzazione (ultimi 30 giorni)
lakom Mariem
lakom Mariem il 23 Nov 2017
Risposto: Jan il 23 Nov 2017
Hello everyone please i need your help I have this error in my code and I couldn't know what does it mean and how to correct it. You can see here my code and the following error
for ind = 1:length(x)
Pout_ideal_af_f(ind,:) = functionOutageFormula(x(ind),alpha1,alpha2,beta1,beta2,b1,b2,c,d);
end
the error is :
Undefined function or variable 'functionOutageFormula'.
Error in fig2fig3newlook (line 272) Pout_ideal_af_f(ind,:) = functionOutageFormula(x(ind),alpha1,alpha2,beta1,beta2,b1,b2,c,d);

Risposte (1)

Jan
Jan il 23 Nov 2017
The error message seems to be clear and easy:
Undefined function or variable 'functionOutageFormula'.
There is no M-file called "functionOutageFormula.m" and no local function with this name also. A bold guess is, that you want "OutageFormula" instead.
You have read the message also. Then please explain, why you assume that "functionOutageFormula" is an existing function. Maybe you have created such a function, but forgot to include its parent folder in th Matlab path? Then see doc addpath.

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by