Why do I keep getting the error 'cannot call INPUT from EVALC'?

12 ビュー (過去 30 日間)
Natalie Boenker
Natalie Boenker 2015 年 3 月 30 日
回答済み: Jan 2017 年 1 月 8 日
  2 件のコメント
Sean de Wolski
Sean de Wolski 2015 年 3 月 30 日
Are you trying to publish this?
If so, then you cannot use input
Rohan Maharjajn
Rohan Maharjajn 2017 年 1 月 8 日
So how to take input from the user and publish the result? @Sean de Wolski

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

回答 (1 件)

Jan
Jan 2017 年 1 月 8 日
Save the code as an M-file, e.g. 'myFunction.m' and call it from the command line:
myFunction

カテゴリ

Help Center および File ExchangeSoftware Development Tools についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by