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 次查看(过去 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.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 ActiveX 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!