There are 3 options that I know of
- Use ActiveX. If using Windows, and using a program that is ActiveX aware, like Microsoft Office applications, then you can use ActiveX to control the program from within MATLAB. I have a demo attached where I do that with Excel.
- Use Java Robot. Basically control the mouse cursor and tell it where to go and what to click on, and control the keyboard to send keystrokes. Demo attached.
- Use an SDK. If your other app has a software development kit, then you can communicate with its DLLs using the loadlibrary() function of MATLAB.
