Borrar filtros
Borrar filtros

What does the following error means

1 visualización (últimos 30 días)
lakom Mariem
lakom Mariem el 23 de Nov. de 2017
Respondida: Jan el 23 de Nov. de 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);

Respuestas (1)

Jan
Jan el 23 de Nov. de 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.

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by