problem with biosig toolbox

hello i installed biosig toolbox from this link: http://biosig.sourceforge.net/download.html
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

Jan
Jan on 11 May 2018
Edited: Jan on 11 May 2018
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?
Jan
Jan on 12 May 2018
Edited: Jan on 12 May 2018
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.

Sign in to comment.

Answers (2)

ANIRBAN CHOWDHURY
ANIRBAN CHOWDHURY on 28 Oct 2019
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

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?
@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.
Don't need to put that into MATLAB toolbox. Put that in any other folder outside the MATLAB directory and try it again!
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!
What failure message did you see?
Thanks a lot. I have solved this problem. Just download the toolbox in http://biosig.sourceforge.net/ and it runs well.
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?

Sign in to comment.

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

Asked:

on 11 May 2018

Commented:

on 25 Jan 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!