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 CenterFile Exchange에서 Desktop에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by