problem with biosig toolbox
이전 댓글 표시
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
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.
답변 (2개)
ANIRBAN CHOWDHURY
2019년 10월 28일
1 개 추천
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
Shihao Liu
2019년 11월 11일
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
2019년 11월 13일
@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
2019년 11월 13일
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
2019년 11월 16일
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
2019년 11월 16일
What failure message did you see?
Shihao Liu
2019년 11월 17일
Thanks a lot. I have solved this problem. Just download the toolbox in http://biosig.sourceforge.net/ and it runs well.
Lorena Morales
2021년 1월 25일
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
2018년 5월 12일
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.
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!