How should I configure the 'Publishing Options' so that I don't get an error when user input is required?

2 views (last 30 days)
I have a code that requires user input. I'm 'publishing' the report that is created after the user input with the 'publishing options'. I've excluded the code from being included, for example. But every time I run the publishing command, I get an error as soon as the code gets to the first portion of where user input is needed. Why?
The error that I receive:
Cannot call INPUT from EVALC.

Accepted Answer

Sean de Wolski
Sean de Wolski on 11 Mar 2014
Perhaps you could use an inputdlg to ask for user feedback?
txt = inputdlg('input');
  12 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on Biological and Health Sciences in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!