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

12 views (last 30 days)
  2 Comments
Sean de Wolski
Sean de Wolski on 30 Mar 2015
Are you trying to publish this?
If so, then you cannot use input
Rohan Maharjajn
Rohan Maharjajn on 8 Jan 2017
So how to take input from the user and publish the result? @Sean de Wolski

Sign in to comment.

Answers (1)

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

Categories

Find more on Software Development Tools in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!