How do I fix the error "Execution of script interp2 as a function is not supported"?
14 ビュー (過去 30 日間)
古いコメントを表示
How do I fix the error "Execution of script interp2 as a function is not supported"?
0 件のコメント
回答 (1 件)
Star Strider
2024 年 4 月 7 日 16:05
You have a script that you named ‘interp2’ and that is throwing the error.
The solution is to re-name the script to something that is meaningful in the context of whatever you are using it in, and tthat does not overshadow any MATLAB function.
An easy way to find it is to run this from a script or your command window —
which interp2 -all
That should be the only result. The additional result (that will appear when you run that) will tell you where the script file is, so you can track it down and change its file name.
.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!