简体   繁体   中英

Google Earth Toolbox could not load in MatLab

I'm trying to install GOOGLEEARTH TOOL on matlab, the download website is https://code.google.com/archive/p/googleearthtoolbox/downloads

But it appears that

  >>googleearth -docinstall
  Adding 'demo' folder to the path...Done.
  Warning: Non-fatal error during version file update. 
  >In googleearth at 29 
  Adopting user-customized styles for documentation files...Done

  Click on the MATLAB Start button->Desktop Tools->View Source Files...
 and click Refresh Start Button.

My matlab version is R2012b, and I can't find the start button ,or desktop tools, or 'view source files'.

Does anyone know? Thanks so much

In older versions of MATLAB, the "Refresh Start Button" menu option forced MATLAB to parse a new info.xml file (containing meta-data about a toolbox) and add the relevant components to MATLAB's start menu. This option no longer exists, as MATLAB should automatically parse an info.xml file.

From the MATLAB documentation:

MATLAB parses the info.xml file and displays your documentation when you add the folder that contains info.xml to the path. If you created an info.xml file in a folder already on the path, remove the folder from the path. Then add the folder again, so that MATLAB parses the file . Make sure that the folder you are adding is not your current folder.

The Google Earth toolbox looks like it creates an info.xml file on the fly to better integrate documentation, demos, etc. with MATLAB. It creates this info.xml file after adding the toolbox directory to the path.

To simulate the effects of "Refresh Start Button" on your version of MATLAB, you will likely need to remove and re-add the toolbox to your path. At this time, MATLAB should parse the info.xml file properly.

rmpath('/path/to/googleearth')      %// Remove the previous path
addpath('/path/to/googleearch')     %// Add the path back

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM