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

1 view (last 30 days)
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.

Accepted Answer

David (degtusmc)
David (degtusmc) on 5 Sep 2013
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.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!