Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue trying to run SPM from Matlab. #206

Closed
yoursurname opened this issue Jan 27, 2024 · 2 comments
Closed

Issue trying to run SPM from Matlab. #206

yoursurname opened this issue Jan 27, 2024 · 2 comments
Assignees

Comments

@yoursurname
Copy link

There are many advantages to running the SPM GUI from matlab.
I tried to use the method described here: https://www.neurodesk.org/tutorials-examples/tutorials/programming/matlab/
Like this:
setenv("PATH",getenv("PATH") + ":/cvmfs/neurodesk.ardc.edu.au/containers/spm12_r7771_20230609”);
It can load FSL as in the example but not SPM.

When I run !spm12 I get the following message:
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
fl:filesystem:SystemError
spm12: Signal 121

@stebo85
Copy link
Contributor

stebo85 commented Jan 27, 2024

Dear @yoursurname

you are trying to execute the compiled spm standalone version in matlab and that doesn't work of course!

if you want to run spm in matlab you need to download the matlab source code of SPM from their website and follow the SPM instructions to start the GUI in matlab.

Let us know if that works for you
Kind regards
Steffen

@stebo85 stebo85 self-assigned this Jan 29, 2024
@stebo85 stebo85 moved this from New to Active in NeuroDesk Jan 29, 2024
@stebo85
Copy link
Contributor

stebo85 commented Jan 29, 2024

Dear @yoursurname - is there any update on this? Did it work for you to install the source code of SPM and launch the GUI in matlab?

@stebo85 stebo85 moved this from Active to Waiting on External Input in NeuroDesk Jan 29, 2024
@stebo85 stebo85 closed this as completed Apr 17, 2024
@github-project-automation github-project-automation bot moved this from Waiting on External Input to Completed in NeuroDesk Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Completed
Development

No branches or pull requests

2 participants