Invalid Expression error recieved when attempting to use basic built-in function, input

9 ビュー (過去 30 日間)
John Thomas
John Thomas 2022 年 3 月 2 日
コメント済み: John Thomas 2022 年 3 月 2 日
I have a student that is having issue when attempting to use the built-in function, input.
The functions has been used several times before, so it is unclear what the issue could be since it is a built-in function.
I"m used to seeing this error for user-define functions or expressions where there is some type of syntax error, but not for built-in functions.
Below is a screenshot of his errors using the correct implementation for the function calls.
Any help you can provide is appreciated.
  2 件のコメント
DGM
DGM 2022 年 3 月 2 日
What is the result of running this in the console?
which input -all
The top result should be the MATLAB builtin. If there's a user-created file called input.m, then it needs to be renamed or moved off the path.
John Thomas
John Thomas 2022 年 3 月 2 日
That was it. Thanks.
He did happen to have a user-defined 'input.m' file.

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

回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by