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.
How to control a program that does not have ActiveX or accepts compiler generated formats?
1 view (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on ActiveX in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!