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!