How can i pass data between file generated by matlab into a graphical window of another software ?

1 次查看(过去 30 天)
I have a GUI which will produce/ write data to an excel file and also create file with extension something like, $.prj or $.pj etc, The data produced /written to file needs to be further written in a relevant graphical window of another software... how can I do it ?

采纳的回答

Walter Roberson
Walter Roberson 2018-7-14
You cannot force anything to be written into a different program.
However, some other programs give tools that permit other programs to trigger actions. For example on Windows it is not uncommon for programs to provide ActiveX controls.
If a program does not provide any tools, but the program can import what is needed if the user were to take some actions typing and clicking in the program, then you can typically "remote control" the program using Java Robot class from MATLAB. This can be a nuisance, though, as you have to know exact screen coordinates to move the mouse to in order to issue the clicks. Java Robot class has no ability to say (for example) "Move to the File menu and click there": it only has the ability to say (for example) "Move to X = 102, Y = 83 and click there".

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by