marsbar ROI export error

2 Ansichten (letzte 30 Tage)
Ed
Ed am 27 Jan. 2023
Beantwortet: Abhinaya Kennedy am 22 Aug. 2024
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.

Antworten (1)

Abhinaya Kennedy
Abhinaya Kennedy am 22 Aug. 2024
To resolve the MarsBaR error regarding a non-existent file path:
  1. Check ROI Paths: Ensure your ROI files don't reference old or incorrect paths.
  2. Clear Cache: Restart MATLAB to clear any cached paths.
  3. Verify SPM Configuration: Ensure SPM paths are correct.
  4. Update Scripts: Replace any hard-coded paths with current ones.
  5. Re-import ROIs: Reload your ROIs to ensure correct file linking.
  6. Recreate ROIs: If needed, recreate ROIs to eliminate outdated references.
These steps should help fix the error related to the incorrect file path.

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by