help > Problems to run NiiStat: permission denied
Showing 1-2 of 2 posts
Display:
Results per page:
Apr 6, 2021  11:04 AM | Celine PISCICELLI - Grenoble-Alpes University Hospital and University
Problems to run NiiStat: permission denied
Dear experts,
I'm trying to run NiiStat with lesion masks for VLSM analysis
I created the .mat files and the excel file is ready with the behavioral data. 
But when I try to run with the GUI i get a matlab error: 

Error using save
Unable to write file C:\Program Files\MATLAB\R2019b\NiiStat-master\NiiStatGUI\niistatGUI_cfg.mat: permission
denied.

Error in NiiStatGUI/GOButtonPushed (line 444)
save(fullfile(filepath,'niistatGUI_cfg.mat'),'GUIdata');
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 335)
Error while evaluating Button PrivateButtonPushedFcn.

I precise that I used Windows 10, Matlab R2019b, SPM12. 

Thank you for your help
Apr 7, 2021  07:04 AM | Celine PISCICELLI - Grenoble-Alpes University Hospital and University
RE: Problems to run NiiStat: permission denied
Problem solved.