How to control a program that does not have ActiveX or accepts compiler generated formats?

4 次查看(过去 30 天)
Hello everyone,
I am trying to create an interface using Matlab to control a menu driven program that is command-line based (i.e. press 1 to add, press 2 to remove, etc.). The program does not have ActiveX and as far as I know it cannot load any of the formats generated by Matlab Compiler.
The purpose of the Matlab GUI is to generate a text file, send it to the program, receive the output file from the program, and graph the results.
Is what I am trying to do achievable using Matlab (including any additional toolboxes). If so, any suggestions will be greatly appreciated.
Thank you in advance for any help provided.

采纳的回答

David (degtusmc)
David (degtusmc) 2013-9-5
A simple solution was to use the "system" command in conjunction with a text file with all the commands I needed to send to control the program. This worked in my specific case, but it may not be a general solution for everyone else.

更多回答(0 个)

产品

Community Treasure Hunt

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

Start Hunting!

Translated by