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?

Answers (0)

Categories

Products

Release

R2016a

Asked:

on 19 Nov 2019

Commented:

on 19 Nov 2019

Community Treasure Hunt

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

Start Hunting!