The cause of the error related to statistical functions when using EEGLAB
1 回表示 (過去 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 件のコメント
Walter Roberson
2023 年 4 月 26 日
編集済み: Walter Roberson
2023 年 4 月 28 日
eeglab installs functions that interfere with MATLAB functions
採用された回答
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
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.
その他の回答 (0 件)
参考
カテゴリ
Help Center および 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!