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!