problem with biosig toolbox
Show older comments
i want to read a eeg signal in gnd format and i use "sloud" command to read it but i was faced with tihs error:

2 Comments
Please do not let the readers ask an internet search engine for finding out, which tool you are using. Edit your question and insert a link to the download page of the "biosig toolbox".
Then post the code you use. The vague description "when i used the sloud" is not useful. Provide a copy of the complete error message also. Why do you assume that "sload" is existing? How did you "install" the toolbox?
Thanks for posting more details.
Prefer to post code and error messages as text, not as screenshots. This is far more convenient for the readers.
I assume your "sloud" is a typo in the forum only. Please fix or clarify this. You mentioned the "gnd" format, but the error message looks like you use a "gdf" file extension. This is confusing.
Answers (2)
ANIRBAN CHOWDHURY
on 28 Oct 2019
1 vote
The solution is pretty simple. The reason you are getting this error is that you might haven't installed the Biosig toolbox properly. Just adding it to the MATLAB path will not make Biosig work (as in case with EEGLAB). To install Biosig properly, go to the Biosig folder in MATLAB and open "biosig_installer.m" in MATLAB. Now run it. If it runs successfully then congratulations! you have installed Biosig toolbox properly. Now run your command:
[s, h] = sload('A01T.gdf');
This should work. Good luck!
7 Comments
Shihao Liu
on 11 Nov 2019
I get a trouble installing Biosig toolbox. I donwnload the biosig.zip and unzip it into the toolbox folder in MATLAB. Then I run the biosig_installer.m and it prompts:"Compilation of Mex-files failed - precompiled binary mex-files are used instead, signal processing toolbox (butter) is missing, function periodogram() is missing or not up to date. BIOSIG-toolbox activated. If you want BIOSIG permanently installed, use the command SAVEPATH or use PATHTOOL to select and deselect certain components." I try to add the biosig file to the MATLAB path, but it prompts:" Can't change the path because maybe that the pathdef.m is read-only". Could you tell me what's the problem and how to install Biosig toolbox?
Jan
on 13 Nov 2019
@Shihao Liu: Is it really recommended to install a 3rd party software into Matlab's toolbox folder? In general only Matlab's own toolbix functions should be stored there. You can access the contents of the installation directory of Matlab only with admin privilegs. So start Matlab with elevanted privileges. Then you cann access the pathdef.m file also. In addition the compilation of the MEX files will probably run.
Nevertheless, I'd recommend to install the Biosig toolbox in a path outside the installation folder of Matlab - assuming that this is not exactly explained in the installation instructions.
ANIRBAN CHOWDHURY
on 13 Nov 2019
Don't need to put that into MATLAB toolbox. Put that in any other folder outside the MATLAB directory and try it again!
Shihao Liu
on 16 Nov 2019
I run the biosig_installer.m as you instructed but it failed. Would you mind sending me the excutable file to install biosig properly. Than you very much!
Walter Roberson
on 16 Nov 2019
What failure message did you see?
Shihao Liu
on 17 Nov 2019
Thanks a lot. I have solved this problem. Just download the toolbox in http://biosig.sourceforge.net/ and it runs well.
Lorena Morales
on 25 Jan 2021
Hi! I had run successfully de "biosig_installer.m", but when I try to run the code: [s, h] = sload('A01T.gdf') It didn't recognize the "sload". Someone know the reason?
Jan
on 12 May 2018
You get 3 different error messages. This is not a smart idea of the programmer. Either the format is unknown, or there is a problem in the MEX function, or the file is not existing. It is trivial to check at least the last one:
exist(fullfile(cd, 'A01T.gdf'))
If the file does not exist, this is not a problem of the software. Simply provide the name of an existing file. It is much safer to include the folder name than to rely on the current folder what you expect it to be. Remember that any timer or GUI callback could change the current folder by cd. Therefore absolute file names are a good programming practice.
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!