Hi every!
I have a question that is the "load_bcidat" can only load the .dat file which is in the same storage position with the "load_bcidat.m" and "load_bcidat.mexw32" ?
I want to load some .dat files which are in another folder by means of "load_bcidat.m" in matlab, but some error occur.
Anyone can help me ?
Thanks ,
Sandra.
load_bcidat use in matlab
-
- Posts: 17
- Joined: 09 Sep 2014, 09:41
Re: load_bcidat use in matlab
I have solve this problem.
Because matlab load the .dat file according the file path ,but the "load_bcidat.m " will can't find when the workpath re-set to the data path .
By means of the following method will work.
Because matlab load the .dat file according the file path ,but the "load_bcidat.m " will can't find when the workpath re-set to the data path .
By means of the following method will work.
pathname is the data file path name . filename is the dat file which you want to load into matlab.filename = strcat(pathname,filename);
[signal, states, parameters] = load_bcidat(filename);
Who is online
Users browsing this forum: No registered users and 17 guests