I am generating an executable from my model for External Mode simulation that I will run on a target machine and connect to from my host computer. The executable has "printf" and "scanf" statements included in it to monitor its error status and provide yes/no inputs, for example:
1) “X is doing Y”
2) “Do you accept [y/N]:"
The documentation states that "printf" and "scanf" statements are supported for External Mode simulation:
"External mode simulations support the use of printf calls to display error and information messages from the target program."
However, these messages are displayed in the console on the target. Right now, we have to SSH to the console on the target to interact with the "printf" and "scanf" statements. Is there a way for the input/output of these statements to show up in Simulink on the host computer?