How to fix fieldtrip error?
17 次查看(过去 30 天)
显示 更早的评论
I keep getting this error even though i already downloaded the latest version of Fieldtrip. I am also using the latest version of matlab
3 个评论
Voss
2022-3-19
They say to try an earlier version of Fieldtrip, so maybe try that.
And/or email the developers, maybe here: https://www.fieldtriptoolbox.org/discussion_list/
回答(1 个)
Chetan
2023-12-28
I understand that you're encountering an issue with the integration of EEGLAB and Fieldtrip, where the `ft_notification()` function is not recognizing the `ft_version` variable. This problem is likely related to the configuration of the Fieldtrip toolbox within EEGLAB rather than the file path lengths. To address this, you can follow these steps:
1. Verify Fieldtrip Installation:
- Check that Fieldtrip is properly installed and added to the MATLAB path. Use the `addpath` function to include the Fieldtrip directory if necessary.
2. Clean Installation:
- If you've recently updated Fieldtrip or EEGLAB, make sure there are no conflicting versions or remnants from previous installations. It might be helpful to remove all associated paths and then re-add the latest version.
3. Check File Paths:
- Although the current issue isn't directly related to file path lengths, it's always a good practice to ensure that output file paths are within the character limits set by your operating system and MATLAB.
- Use concise folder and file names to avoid reaching these limits.
- Avoid deeply nested directories that can lead to excessively long file paths.
4. Windows Path Length Limitation:
- If you're on a Windows platform, the default maximum path length is 260 characters. However, newer versions of Windows 10 allow you to bypass this limit. You can enable this feature through the Group Policy Editor by setting the "Enable Win32 long paths" policy to "Enabled."
Hope it helps
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Install Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!