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 件のコメント
Sean de Wolski
Sean de Wolski 2014 年 3 月 11 日
Use fprintf to enforce spacing and to concatenate.
Rohan Maharjajn
Rohan Maharjajn 2017 年 1 月 8 日
how did you manage to take input and publish the result? @Golnar

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBiological and Health Sciences についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by