marsbar ROI export error

2 vues (au cours des 30 derniers jours)
Ed
Ed le 27 Jan 2023
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.

Réponses (1)

Abhinaya Kennedy
Abhinaya Kennedy le 22 Août 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.

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by