필터 지우기
필터 지우기

how can i deal with the problem of not enough input arguments ?

조회 수: 2 (최근 30일)
Nermeen
Nermeen 2013년 6월 10일
hello, my problem is whenever i tried to write the code, i got error message (not enough input arguments) for the line m=m0
function [res]=star_Panel(data,N0,m0,rmax,condini_user)
affi=1;
global Y X W Q m T N K Xreg beta residual y_cent x_cent w_cent g r condini_last params ncase NT sample Qadj Xadj sampleAdj qs_truncated
if affi==1, help star_panel, end
%%%parameters%%%
m=m0;
if m==1
grid_gam=15;
grid_c=30;
else
grid_gam=5;
grid_c=20;
end;
alpha=0.05; tau=0.5;
Y=data(:,1); Q=data(:,2); X=data(:,3:end); N=N0; T=length(Y)/N; NT=N*T; K=size(X,6);

채택된 답변

Image Analyst
Image Analyst 2013년 6월 10일
How are you running or calling this function? Are you supplying the input arguments it requires? You can't just click the green triangle because doing that does not supply values for data,N0,m0,rmax, and condini_user.
  댓글 수: 1
Sean de Wolski
Sean de Wolski 2013년 6월 10일
Unless you edit the run configurations to provide data, N0,m0,rmax,condini_user.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import and Management에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by