Forum

Open Earth Tools Errors

Chris Furlong, modified 4 Years ago.

Open Earth Tools Errors

Youngling Post: 1 Join Date: 2/16/21 Recent Posts
Hello,

I have been trying to start DelftDashBoard in MatLab on Windows 10. However, I run into issues when I try to setup OpenEarthTools by running oetsettings.m MatLab. The following error is returned:

1
>> run('C:\Users\chris\Desktop\matlab\oetsettings.m')
2
Adding openearthtools, please wait ...
3
 
4
Unrecognized function or variable 'addpathfast'.
5

6
Error in oetsettings (line 109)
7
   addpathfast(basepath,'append',OPT.append); % excludes *.svn directories!Error in run (line 91)
8
   
9
evalin('caller', strcat(script, ';'));
10

11
>>


If you could be so kind, please suggest how I can change the addpathfast function so it doesn't give an error. The code in my  version of the "oetsettings.m" file is attached below.Thank you so much in advance.Kind regards, 

Chris
Gabriel Ruiz, modified 4 Years ago.

RE: Open Earth Tools Errors

Youngling Posts: 2 Join Date: 4/28/11 Recent Posts
Hi Chris
If you are trying to use Dashboard in Matlab, first you should load all the EOT functions in your Matlab session. My advice is to use the next Matlab functions:

1
addpath(genpath('PATH WHERE EOT FILES ARE DOWNLOADED'));


For example, I have the EOT folders in C:\DeltaresTools\EOT
Before to use Dashboard, Muppet, Quickplot, etc. in my Matlab session, I write in the Command Window:
1
addpath(genpath('C:\DeltaresTools\EOT'));
2
oetsettings;


Kind regards.

Gabriel