Using "printf" and "scanf" in External Mode
显示 更早的评论
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 below states that target application error and information messages can be shown on the target hardware display by using "printf" calls:
Hence, for the moment, we are using 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?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Texas Instruments C2000 Processors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!