Hi all, I'm using a toolbox called PRTools which I have to use for a course I'm following. Somewhere I have to call a function, and then this function calls a function named 'pr_dataset'. The error I receive is the following: An error occurred while trying to determine whether "dataset" is a function name. I've read some things about not having the right license, which I don't think is the case because this function is in the toolbox that I downloaded, which just has the files in a folder on my computer. Also I've read about problems when using 'addpath' in startup.m. I use 'addpath', but not from the startupfile. I just call 'addpath' at the beginning of the script I'm writing. I also tried adding
but that doesn't seem to help. Now I've figured out that when I add the folder with the toolbox by using 'addpath', I have this problem, but when I manually add the folder by right-clicking it in the folder structure and adding it to the path, everything works fine. However I'd like to be able to use the 'addpath' because it is very inconvenient having to add the path manually all the time. Does anyone have any clue as to what is going on and how to fix this? Any help is much appreciated.
Kind regards, Iris