Why i am getting this error 'Attempt to execute SCRIPT spline as a function'?
2 次查看(过去 30 天)
显示 更早的评论
I am using Matlab 2014a latest version. In older versions eg. 2012b the same code is working without error, while in my new version this error appears.
'Attempt to execute SCRIPT spline as a function' In this if i write spline without arguements, still it does not work.
I want to know what is the difference between new and the older versions regarding this. Please help me to correct this error.
0 个评论
回答(2 个)
Anudeep vurity
2018-8-1
I am facing the same problem
This is the program
x = 0:10; y = sin(x);
xx = 0:.25:10;
pp = spline(x,y,xx);
plot(x,y,'o',xx,yy)
The error I got was 'Attempt to execute SCRIPT spline as a function'
please help!
thank you
3 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Splines 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!