how to communicate with uci protocol using matlab

放肆的年华 提交于 2019-12-06 05:17:46
Huguenot

If it's just a case of using the exe file and capturing the output you can use the system command to capture the output. For example I can run the system's dir command in the following way:

>> [~, output] = system('dir')

output =

ant      ant.cmd  antRun.bat  antenv.cmd           envset.cmd  runant.pl
ant.bat  antRun   antRun.pl   complete-ant-cmd.pl  lcp.bat     runant.py

Documentation: http://www.mathworks.com/help/matlab/ref/system.html

See also: Running C program's executable from Matlab and getting the output

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!