Google Earth Toolbox 无法在 MatLab 中加载

Google Earth Toolbox could not load in MatLab

我正在尝试在 matlab 上安装 GOOGLEEARTH TOOL, 下载网站是 https://code.google.com/archive/p/googleearthtoolbox/downloads

但似乎

  >>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.

我的matlab版本是R2012b,找不到开始按钮,也找不到桌面工具,也找不到'view source files'。

有人知道吗?非常感谢

在旧版本的 MATLAB 中,"Refresh Start Button" 菜单选项强制 MATLAB 解析新的 info.xml 文件(包含有关工具箱的元数据)并将相关组件添加到 MATLAB 的开始菜单。此选项不再存在,因为 MATLAB 应该自动 解析 info.xml 文件。

来自 MATLAB 文档:

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.

Google Earth 工具箱看起来像是动态创建一个 info.xml 文件,以便更好地将文档、演示等与 MATLAB 集成。它在 将工具箱目录添加到路径后 创建此 info.xml 文件。

要在您的 MATLAB 版本上模拟 "Refresh Start Button" 的效果,您可能需要删除并重新添加 工具箱到您的路径。此时,MATLAB 应该可以正确解析 info.xml 文件。

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