Is it possible to write to stdin from code?

Normally when the "keyboard" (or input) command is executed, the program waits for user input.
But is there a way to send commands to the input (stdin) from code?

2 件のコメント

Sean de Wolski
Sean de Wolski 2019 年 11 月 19 日
What's the use case for this?

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDesktop についてさらに検索

製品

リリース

R2016a

質問済み:

2019 年 11 月 19 日

コメント済み:

2019 年 11 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by