- Check ROI Paths: Ensure your ROI files don't reference old or incorrect paths.
- Clear Cache: Restart MATLAB to clear any cached paths.
- Verify SPM Configuration: Ensure SPM paths are correct.
- Update Scripts: Replace any hard-coded paths with current ones.
- Re-import ROIs: Reload your ROIs to ensure correct file linking.
- Recreate ROIs: If needed, recreate ROIs to eliminate outdated references.
marsbar ROI export error
2 views (last 30 days)
Show older comments
I get this error when exporting ROI data on marsbar.
The file directory bewlow in fact, does not exist and is not associated with the process at all. I didn't even intend to use that file.
Anybody has a clue of what's going on and how to solve it?
[Error message]
Mapping files : Error using spm_vol>spm_vol_hdr
File "/Users/shchoi/Desktop/Lab/05_experiments/01_attentional_capture/MRIdata/03_1st_level/01_localizer/CON/CON12/con_0005.nii" does
not exist.
Error in spm_vol (line 61)
v = spm_vol_hdr(deblank(P(i,:)));
Error in mars_image_scaling (line 120)
VY = spm_vol(VY);
Error in marsbar (line 980)
[VY row] = mars_image_scaling(marsD);
Error in spm (line 1004)
evalin('base',CB)
Error while evaluating UIControl Callback.
0 Comments
Answers (1)
Abhinaya Kennedy
on 22 Aug 2024
To resolve the MarsBaR error regarding a non-existent file path:
These steps should help fix the error related to the incorrect file path.
0 Comments
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!