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?

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Desktop 的更多信息

产品

版本

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by