Using GA with parameters reading from a excel file
4 次查看(过去 30 天)
显示 更早的评论
I have a function that read initial conditions and some parameters from a excel file and calculates some outputs in a daily time step.
[Temp,DO, DOC, DOM] = solvemodel(m_start,m_stop,initfile,'sheet1',inputfile,'sheet1', parafile,'sheet1'); it mean that that the directory of three excel files (initfile, inputfile, parafile) should be given in order to run the model.
In parafile, there are 40 parameters..
Now I have the observation data of temp, and I would like to apply GA with the objective of minimizing the RMSE beteween observed and modelled temp. Among the 40 parameters of parafile, I just want to 4 of these parameters to e changed in the GA, others should be constant. How can I use GA toolbox or write the code to do so.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!