Error using input function

10 ビュー (過去 30 日間)
Jayesh Kamboj
Jayesh Kamboj 2020 年 9 月 11 日
コメント済み: Dr. Kelsey Joy 2021 年 11 月 27 日
I am receiving an error with MATLAB and I have absolutely no idea why.
MATLAB Version is R2018a.
  4 件のコメント
Jayesh Kamboj
Jayesh Kamboj 2020 年 9 月 11 日
K never mind I fixed it. Turns out I DID have a function called input already.
Dr. Kelsey Joy
Dr. Kelsey Joy 2021 年 11 月 27 日
It's so easy to accidentally create a script file or variable with an existing MATLAB function name. The worse I have ever seen was a student create a created a script file called "edit". Geez that took a LONG time to figure out! lol.

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

採用された回答

madhan ravi
madhan ravi 2020 年 9 月 11 日
You have a custom made function named input() which shadows the inbuilt function. Rename it or remove it from the path.
  7 件のコメント
Jayesh Kamboj
Jayesh Kamboj 2020 年 9 月 11 日
and output was 'built-in (C:\Program Files\MATLAB\R2018a\toolbox\matlab\lang\input)'
madhan ravi
madhan ravi 2020 年 9 月 11 日
LOL

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by