not enough input arguments
이전 댓글 표시
I am trying to call the function but it doesnt run. i have been trying to feed some input arguments but still there is something wrong wich i cant understand. I have uploaded the file here...anyone help? thanks
댓글 수: 3
Walter Roberson
2018년 12월 5일
What is a sample line in which you run the code?
Walter Roberson
2018년 12월 5일
Note that you never read from the file whose name is passed in. You have coded
[~,~ , rawData ]= xlsread ( 'myfilename.xlsx' ,'','','basic ');
which always reads from the file whose name is exactly myfilename.xlsx
Jan
2018년 12월 5일
@walid: Please elaborate "still there is something wrong". Do you get an error message? Which input do you use?
채택된 답변
추가 답변 (1개)
walid mohammed
2018년 12월 5일
0 개 추천
댓글 수: 2
Walter Roberson
2018년 12월 5일
We do not have your data files, and we do not have specific values for the variables you are calling with, so we cannot run the code to see the error message ourselves. You have also not shown the complete error message.
We will not be able to assist you further without further information.
Jan
2018년 12월 6일
@walid: Please post comments in the section for comments, not in the section for answers.
I cannot guess what "something wrong" means and in consequence I cannot suggest a solution. The names of the variables "filename , startDate , endDate ,N,T,dist , modelname, q, lambda ,l" do not matter, but the contents do. In addition we need to know, which problem you observe.
카테고리
도움말 센터 및 File Exchange에서 Historical Contests에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!