Closed amoodie closed 7 years ago
Hi Andrew, that change would make sense if your current folder is the help folder and /DEMdata is not on the search path. I usually have /DEMdata on my search path and also advised in the readme file to do so. Thus, I would not want to specify the relative path in the demo, because then it might not work if the function is called from a current folder other than /help. What do you think?
Wolfgang, you're right I should have realized that /DEMdata is on the path, as it was on my system. However, this pull request is to update the demo file in /demos which currently reads load exampledem
, where "exampledem" is not the name of any file on the path, including in /DEMdata. I have updated the pull request to commit the change to load exampleDEM.mat
such that the path is not relative and now specifies a file that does exist in the path, specifically /DEMdata.
Thanks, Andrew, for this update!
not sure if the exampleDEM.mat file used to live in the same folder as the example code, but it is located in the DEMdata folder in the newest version. I simply specify a relative path, based on the existing file structure.