syntax error in code
1 次查看(过去 30 天)
显示 更早的评论
Hello Experts, i have code while running it gives XLSREAD unable to open file 'cleveland.xls' i have attached the code and dataset. please help to remove this syntax error
0 个评论
采纳的回答
Star Strider
2017-4-11
The filename is ‘cleveland.csv’, not ‘cleveland.xls’.
Your code should work with that change in all your xlsread calls.
2 个评论
Star Strider
2017-4-11
What does the rest of the error message say?
What are ‘nh’ and ‘l1’? (I assume they are scalars, so if they are not, it is necessary to know that.)
What are the sizes of ‘H’ and ‘Data.y’?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!