필터 지우기
필터 지우기

What does the following error means

조회 수: 1 (최근 30일)
lakom Mariem
lakom Mariem 2017년 11월 23일
답변: Jan 2017년 11월 23일
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);

답변 (1개)

Jan
Jan 2017년 11월 23일
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.

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by