Obtain GPS coordinates from figure
13 ビュー (過去 30 日間)
古いコメントを表示
I am currently using the function Geoplot function to plot the coordinates of my robot live using the onboard GPS, I currently assign a target coordinate by manually writing down the coordinates in the matlab command window and i was wondering if there is a way to click on a location on the map of the geoplot function or any other map plotting function, that would enable the coordinates of that selected point to be assigned to a variable in my workspace
1 件のコメント
回答 (1 件)
Dyuman Joshi
2023 年 9 月 27 日
編集済み: Dyuman Joshi
2023 年 9 月 27 日
Click on a point anywhere on the data plotted, that will generate a data tip.
Hold shift to select multiple data points at once.
Right click on the data tip and a drop-down menu will appear.
Select the "Export Cursor Data to Workspace" option (2nd last) and save the data with a variable name accordingly.
The saved data will be of the structure data type.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Geographic Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!