setSPMversion
Version 1.0.0.0 (2.23 KB) by
Todd Pataky
setSPMversion allows the user to toggle SPM versions without exiting matlab or manually adjusting th
692 Downloads
Updated
19 Jun 2006
No License
setSPMversion(vers) sets the SPM version to VERS, where VERS is either 99, 2, or 5 (only these three versions currently supported)
NOTES:
1. The user must specify the directories in this function. Refer to the commented code in setSPMversion.m at the bookmark: "BEGIN USER INPUT".
2. Although other SPM versions' directories are removed from the path, this function does not affect defualt settings; path changes are reverted after quitting MATLAB.
Tested on PC and UNIX, MATLAB R13 and R14
Cite As
Todd Pataky (2026). setSPMversion (https://se.mathworks.com/matlabcentral/fileexchange/11457-setspmversion), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Neuroimaging in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
