Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
How can I get URLREAD to return Page Source data from live datastream
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi -
I am trying to read in ISS attitude telemetry data off of a website, given the URL below:
When I use the command:
a=urlread('http://spacestationlive.jsc.nasa.gov/displays/adcoDisplay2.html');
command, data is returned in the character string "a", but the variables of interest from the website, current roll, pitch, and yaw, are listed in the ISPWebTableItem.USLAB00ROLL, ISPWebTableItem.USLAB000PIT, and USLAB000YAW as N/A.
If I view the website from Mozilla, and View Page Source, then I see the same thing, however, if I highlight the variable data, and select View Selection Source, I can see the variable data of interest.
I know that the website uses Javascript, and I have already tried to use outside programs such as Wget and cURL, without any luck. Is there a way in order to have Matlab be able to perform this function? I have also tried using the web('http://spacestationlive.jsc.nasa.gov/displays/adcoDisplay2.html') function, and am able to get Matlab's web browser to display the website correctly, but am also unsure of how to access the source data from that interface.
I know that Mathworks Datafeed Toolbox does similar functions, but only with financial aspects. Has anyone had success trying to do a similar effort for what I am trying to do? Is this something that Matlab simply cannot perform? If that is the case, does anyone know of another program that can perform that functionality?
Thank you for the help.
Bryan Welch
0 commentaires
Réponses (0)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!