syntax error in code
1 view (last 30 days)
Show older comments
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 Comments
Accepted Answer
Star Strider
on 11 Apr 2017
The filename is ‘cleveland.csv’, not ‘cleveland.xls’.
Your code should work with that change in all your xlsread calls.
2 Comments
Star Strider
on 11 Apr 2017
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’?
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!