The cause of the error related to statistical functions when using EEGLAB

조회 수: 2 (최근 30일)
Installation of eeglab2023.0 renders certain statistical functions in MATLAB, such as ttest2, unusable.
Can you please provide a solution to this issue?
  댓글 수: 3

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2023년 4월 28일
I have this problem with Eigenvector's PLS toolbox. There are several functions (skewness, dataset, etc.) that they claim they wrote before functions of the same name were introduced by Mathworks and they refuse to change them. If you know you will always want the MATLAB version and never want the EEGLAB version of the function, then you can move the EEGLAB paths down below the toolbox paths. Use the SetPath button on the Home tab of the toolribbon to move the paths down.
If sometimes you want EEGLAB functions and sometimes the MATLAB versions of those functions then you can rename the EEGLAB functions and call them in your code by the new name instead of the original EEGLAB function name. Like preface the shadowed functions with "eeg" or something.
  댓글 수: 8
Image Analyst
Image Analyst 2023년 5월 8일
편집: Image Analyst 2023년 5월 8일
EEGLab is changing the path for some reason. You can either search the source code for strings like "rmpath", "path", "savepath", "addpath", etc. Or you can contact the publisher and ask why their program removes the stats toolbox from the path.
neshin
neshin 2023년 5월 12일
Thank you for your response.
I will contact publisher .

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by