フィルターのクリア

Why i am getting this error 'Attempt to execute SCRIPT spline as a function'?

2 ビュー (過去 30 日間)
Neha Gawande
Neha Gawande 2015 年 6 月 9 日
コメント済み: Steven Lord 2020 年 5 月 26 日
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.

回答 (2 件)

Walter Roberson
Walter Roberson 2015 年 6 月 9 日
Use
which spline
and show us the result

Anudeep vurity
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 件のコメント
Mbekwa Lemuel Nguh
Mbekwa Lemuel Nguh 2020 年 5 月 26 日
I have rename it in Matlab 2019b but still getting the same error.
Steven Lord
Steven Lord 2020 年 5 月 26 日
Run that command from my comment and show us what it displays.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSplines についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by