Error when calling a previously made function in a separate script. Any ideas?
显示 更早的评论
I keep getting an Error when calling a previously made function that was made in a separate script, even when it is on my path. This piece of code performs a multiple regression iterative search task with 3 parameters.
Here is the original function that gets called later(Both original function script and the other Script it is being called in are attached) I created the function that is being called myself.
Open each attachment separately and run iterative search script to see error.
5 个评论
Walter Roberson
2018-4-25
The opening comments say
% Function for fitting a multiple regression model to a set of data. Data should % be in the form of a matrix, with column 1 as params1, column 2 as params2 and column 3 % as params 3.
But the code expects Data to be a table() object, not an array.
Reece Nasse
2018-4-25
Reece Nasse
2018-4-25
编辑:Reece Nasse
2018-4-25
Walter Roberson
2018-4-25
The function needs White blood cell count as well as red blood cell count. It ignores all other table properties.
Reece Nasse
2018-4-25
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!