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

2 次查看(过去 30 天)
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.

采纳的回答

Sean de Wolski
Sean de Wolski 2014-3-11
Perhaps you could use an inputdlg to ask for user feedback?
txt = inputdlg('input');
  12 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Biological and Health Sciences 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by