DEMDATAUI not finding the path to GTOPo30 data

2 次查看(过去 30 天)
This is probably a stupid question but I was trying to use DEMDATAUI to extract GTOPO30 data that I downloaded from USGS. The DEMDATAUI app does not find the path to the data no matter what I do. I tried addpath and moving the GTOPO30 files around but no luck. Thank you in advance...

回答(1 个)

Prashant Arora
Prashant Arora 2016-12-29
HRmatlab - You can try using the "exist" function to check if the files/folder are detected on MATLAB search path. If the files are detected, this behavior could possibly result due to corrupted or missing files.
If the files are not detected, try navigating to the folder location in MATLAB and execute the "demdataui" app to further make sure. If "demdataui" was able to detect the files this way, you can add the current working directory to the path using the following commands:
addpath(pwd)
savepath()

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by