フィルターのクリア

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 Center および File ExchangeMATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by