Feeding Data to Google Earth Plugin from MATLAB via COM

I am currently working on a flight simulation project with MATLAB/Simulink and Google Earth. What I want to do, is to have MATLAB/Simulink doing all the calculations and simulations and Google Earth to display the result in real time.

To interface the two programmes, I am using COM interface, whereas MATLAB/Simulink as COM-Client and Internet Explorer as COM-server. Before that, I've been using Google Earth COM API instead of Google Earth API (the javascript one). But, some of the functions are not available or limited) in COM API (e.g: pitch, roll).

Therefore, I am resorting to Google Earth Plugin. Here is the example, how the web application should look like.

http://www.hs-augsburg.de/~bizz145/earth/fps/index3.html

Using DOM, I can write to the webpage. But my problem is, how can I refresh the change that I made in the input area. Is event triggering possible via COM (in my case onClick or onBlur)? Is there any better solution instead of using the Form element to feed the data to Google Earth?

7
задан Fraser 28 January 2012 в 22:07
поделиться