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

2 Comments

Are you trying to publish this?
If so, then you cannot use input
So how to take input from the user and publish the result? @Sean de Wolski

Sign in to comment.

Answers (1)

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

Asked:

on 30 Mar 2015

Answered:

Jan
on 8 Jan 2017

Community Treasure Hunt

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

Start Hunting!