GPS coordinates in MATLAB.
If you want the GPS coordinates, you clearly need a GPS receiver. There is a nice discussion on how to communicate with external hardware here:
http://www.mathworks.it/company/newsletters/articles/configuring-and-controlling-external-hardware-in-matlab.html
An alternative would be to input an address, and retrieve the GPS coordinates using some online web service. This is discussed in more detail here:
http://www.mathworks.com/matlabcentral/answers/83449-get-gps-location-from-coordinates
Thanks for your answer, but what if I don't want to connect any hardware?
I was thinking more about using something like the location services of web browsers (i.e. W3C Geolocation API ).
Dear Miguel,
You can get the IP of your machine from Matlab.
For instace:
* urlread('http://www.whatismyip.com/') and the parse the file or even easier
* urlread(' http://www.whatismyip.com/automation/n09230945.asp')
Then you can find the location of the IP using web services.
Again urlread allows you to read resources available on the web.
Regards
Edoardo
If I type :
urlread(' http://www.whatismyip.com/automation/n09230945.asp')
Then I get:
Error using urlreadwrite (line 93)
The server did not find a resource to match this request.
If I use urlread('http://www.whatismyip.com/') , I can't find my IP in the html text file that I get back.
How do interactions between the biosphere, the carbon cycle, and the water cycle impact global warming and interaction between the atmosphere and the hydrosphere?
09 August 2024 3,291 2 View
The stability of the Solar System is a complex subject that blends the classical framework of Newtonian mechanics with the modern insights provided by General Relativity (GR). Understanding this...
07 August 2024 2,569 1 View
I would like to understand potential safety concerns while handling SEB in the lab. Especially while working in animal house facility. Would like to know precautions for handling. Sigma MSDS...
07 August 2024 6,034 3 View
Evolutionary fitness is based on an organism’s ability to adapt rapidly to changing environmental circumstances. Large-bodied mammals have been equipped with large brains (and hence a high...
06 August 2024 4,849 2 View
During low-temperature testing, new diffraction peaks that appear could be indicative of several phenomena. In one of our tests, we observed notable new peaks around 40° and 45° in a specific...
06 August 2024 726 3 View
I´ve been unable to find specific information about this neurotrophin in the CNS of rabbits exclusively. There is extensive info in mice, fish and rats, but in brain´s rabbit is hard to find....
04 August 2024 762 1 View
Hi I am working on data driven model of the microgrid, for that, i need the reliable datasets for the identification of MG data driven Model. Thanks
02 August 2024 5,748 4 View
I am using a windows system, what software I should use for hydration shell analysis with molecular dynamics?
02 August 2024 3,143 4 View
Samuel Morse, the inventor of the Morse Code, understood that certain letters in the English language occurred more frequently than others (Gallistel and King 2010). To deal with this, Morse used...
01 August 2024 4,456 2 View
I am new to Micromechanics and having similar problem with understanding the implementation of the formula's. I would appreciate if anyone can guide me on how to go about getting a scalar value...
30 July 2024 969 0 View