help > error running NIISTAT GUI
Showing 1-2 of 2 posts
Dec 13, 2021 03:12 PM | Salem Hannoun - American University of Beirut
error running NIISTAT GUI
Dear all,
I am having trouble running NIISTAT.
Whenever I run the following, I get the below error message.
Any suggestions?
Thank you
answer =
7×1 cell array
'2000'
'0.05'
'5'
''
''
''
'toast'
GUIdata =
struct with fields:
numPermutations: 2000
correctedP: 0.0500
minOverlap: 5
atlasChoice: []
atlas1name: {'AICHA'}
atlas2name: {'aal'}
atlas3name: {'aalcat'}
atlas4name: {'bro'}
atlas5name: {'cat'}
atlas6name: {'fox'}
atlas7name: {'jhu'}
atlas8name: {'yourcustomatlas'}
modalityChoice: []
specialChoice: []
resultsFolderName: 'toast'
dataDirectory: '/Users/xxx/Desktop/xxx/GOOD_DATA/VLSM/data_1'
outputDirectory: '/Users/xxx/Desktop/xxx/GOOD_DATA/VLSM/data_1'
resultsFolder: 'toast'
excelFile: '/Users/xxx/Desktop/xxx/GOOD_DATA/VLSM/data_1/cofactors.xlsx'
chosenMask: ''
testtype: 'Normal Permutation'
perms: 2000
pvalue: 0.0500
atlas1picks: []
atlas2picks: []
atlas3picks: []
atlas4picks: []
atlas5picks: []
atlas6picks: []
atlas7picks: []
atlas8picks: []
useClassicNiiStat: 0
brodmann_picks_raw: {}
Version 3 March 2017 of NiiStat MACI64 9.1.0.441655 (R2016b)
----------------------------------------------------------------------------------------------------
MATLAB Version: 9.1.0.441655 (R2016b)
MATLAB License Number: 123456
Operating System: macOS Version: 12.0.1 Build: 21A559
Java Version: Java 1.7.0_75-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
----------------------------------------------------------------------------------------------------
MATLAB Version 9.1 (R2016b)
Simulink Version 8.8 (R2016b)
Aerospace Blockset Version 3.18 (R2016b)
Aerospace Toolbox Version 2.18 (R2016b)
Antenna Toolbox Version 2.1 (R2016b)
Audio System Toolbox Version 1.1 (R2016b)
Bioinformatics Toolbox Version 4.7 (R2016b)
Communications System Toolbox Version 6.3 (R2016b)
Computer Vision System Toolbox Version 7.2 (R2016b)
Control System Toolbox Version 10.1 (R2016b)
Curve Fitting Toolbox Version 3.5.4 (R2016b)
DO Qualification Kit Version 3.2 (R2016b)
DSP System Toolbox Version 9.3 (R2016b)
Database Toolbox Version 7.0 (R2016b)
Datafeed Toolbox Version 5.4 (R2016b)
Econometrics Toolbox Version 3.5 (R2016b)
Embedded Coder Version 6.11 (R2016b)
Filter Design HDL Coder Version 3.1 (R2016b)
Financial Instruments Toolbox Version 2.4 (R2016b)
Financial Toolbox Version 5.8 (R2016b)
Fixed-Point Designer Version 5.3 (R2016b)
Fuzzy Logic Toolbox Version 2.2.24 (R2016b)
Global Optimization Toolbox Version 3.4.1 (R2016b)
HDL Coder Version 3.9 (R2016b)
IEC Certification Kit Version 3.8 (R2016b)
Image Acquisition Toolbox Version 5.1 (R2016b)
Image Processing Toolbox Version 9.5 (R2016b)
Instrument Control Toolbox Version 3.10 (R2016b)
LTE System Toolbox Version 2.3 (R2016b)
MATLAB Coder Version 3.2 (R2016b)
MATLAB Compiler Version 6.3 (R2016b)
MATLAB Compiler SDK Version 6.3 (R2016b)
MATLAB Distributed Computing Server Version 6.9 (R2016b)
MATLAB Report Generator Version 5.1 (R2016b)
Mapping Toolbox Version 4.4 (R2016b)
Model Predictive Control Toolbox Version 5.2.1 (R2016b)
Neural Network Toolbox Version 9.1 (R2016b)
Optimization Toolbox Version 7.5 (R2016b)
Parallel Computing Toolbox Version 6.9 (R2016b)
Partial Differential Equation Toolbox Version 2.3 (R2016b)
Phased Array System Toolbox Version 3.3 (R2016b)
Polyspace Bug Finder Version 2.2 (R2016b)
Polyspace Code Prover Version 9.6 (R2016b)
RF Toolbox Version 3.1 (R2016b)
Risk Management Toolbox Version 1.0 (R2016b)
Robotics System Toolbox Version 1.3 (R2016b)
Robust Control Toolbox Version 6.2 (R2016b)
Signal Processing Toolbox Version 7.3 (R2016b)
SimBiology Version 5.5 (R2016b)
SimEvents Version 5.1 (R2016b)
SimRF Version 5.1 (R2016b)
Simscape Version 4.1 (R2016b)
Simscape Driveline Version 2.11 (R2016b)
Simscape Electronics Version 2.10 (R2016b)
Simscape Fluids Version 2.1 (R2016b)
Simscape Multibody Version 4.9 (R2016b)
Simscape Power Systems Version 6.6 (R2016b)
Simulink 3D Animation Version 7.6 (R2016b)
Simulink Coder Version 8.11 (R2016b)
Simulink Control Design Version 4.4 (R2016b)
Simulink Design Optimization Version 3.1 (R2016b)
Simulink Design Verifier Version 3.2 (R2016b)
Simulink Desktop Real-Time Version 5.3 (R2016b)
Simulink Report Generator Version 5.1 (R2016b)
Simulink Test Version 2.1 (R2016b)
Simulink Verification and Validation Version 3.12 (R2016b)
Stateflow Version 8.8 (R2016b)
Statistical Parametric Mapping Version 7771 (SPM12)
Statistics and Machine Learning Toolbox Version 11.0 (R2016b)
Symbolic Math Toolbox Version 7.1 (R2016b)
System Identification Toolbox Version 9.5 (R2016b)
Trading Toolbox Version 3.1 (R2016b)
WLAN System Toolbox Version 1.2 (R2016b)
Wavelet Toolbox Version 4.17 (R2016b)
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git restore ..." to discard changes in working directory)
modified: NiiStatGUI/niistatGUI_cfg.mat
no changes added to commit (use "git add" and/or "git commit -a")
You will get an error if your Excel file does not have a worksheet named "NiiStat" (case sensitive)
Error using nii_xls2mat (line 97)
Invalid field name: 'age_(yrs)'.
Error in nii_read_design (line 18)
[dMat, nuisance] = nii_xls2mat(xlsname , worksheetname,'', true);
Error in NiiStat (line 87)
[designMat, designUsesNiiImages, minOverlapValFile, nuisanceMat] = nii_read_design (xlsname);
Error in NiiStatGUI/GOButtonPushed (line 448)
NiiStat;
Error in appdesigner.internal.service.AppManagementService/tryCallback (line 207)
callback(app, event);
Error in matlab.apps.AppBase>@(source,event)tryCallback(appdesigner.internal.service.AppManagementService.instance(),app,callback,requiresEventData,event)
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 262)
Error while evaluating Button PrivateButtonPushedFcn
I am having trouble running NIISTAT.
Whenever I run the following, I get the below error message.
Any suggestions?
Thank you
answer =
7×1 cell array
'2000'
'0.05'
'5'
''
''
''
'toast'
GUIdata =
struct with fields:
numPermutations: 2000
correctedP: 0.0500
minOverlap: 5
atlasChoice: []
atlas1name: {'AICHA'}
atlas2name: {'aal'}
atlas3name: {'aalcat'}
atlas4name: {'bro'}
atlas5name: {'cat'}
atlas6name: {'fox'}
atlas7name: {'jhu'}
atlas8name: {'yourcustomatlas'}
modalityChoice: []
specialChoice: []
resultsFolderName: 'toast'
dataDirectory: '/Users/xxx/Desktop/xxx/GOOD_DATA/VLSM/data_1'
outputDirectory: '/Users/xxx/Desktop/xxx/GOOD_DATA/VLSM/data_1'
resultsFolder: 'toast'
excelFile: '/Users/xxx/Desktop/xxx/GOOD_DATA/VLSM/data_1/cofactors.xlsx'
chosenMask: ''
testtype: 'Normal Permutation'
perms: 2000
pvalue: 0.0500
atlas1picks: []
atlas2picks: []
atlas3picks: []
atlas4picks: []
atlas5picks: []
atlas6picks: []
atlas7picks: []
atlas8picks: []
useClassicNiiStat: 0
brodmann_picks_raw: {}
Version 3 March 2017 of NiiStat MACI64 9.1.0.441655 (R2016b)
----------------------------------------------------------------------------------------------------
MATLAB Version: 9.1.0.441655 (R2016b)
MATLAB License Number: 123456
Operating System: macOS Version: 12.0.1 Build: 21A559
Java Version: Java 1.7.0_75-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
----------------------------------------------------------------------------------------------------
MATLAB Version 9.1 (R2016b)
Simulink Version 8.8 (R2016b)
Aerospace Blockset Version 3.18 (R2016b)
Aerospace Toolbox Version 2.18 (R2016b)
Antenna Toolbox Version 2.1 (R2016b)
Audio System Toolbox Version 1.1 (R2016b)
Bioinformatics Toolbox Version 4.7 (R2016b)
Communications System Toolbox Version 6.3 (R2016b)
Computer Vision System Toolbox Version 7.2 (R2016b)
Control System Toolbox Version 10.1 (R2016b)
Curve Fitting Toolbox Version 3.5.4 (R2016b)
DO Qualification Kit Version 3.2 (R2016b)
DSP System Toolbox Version 9.3 (R2016b)
Database Toolbox Version 7.0 (R2016b)
Datafeed Toolbox Version 5.4 (R2016b)
Econometrics Toolbox Version 3.5 (R2016b)
Embedded Coder Version 6.11 (R2016b)
Filter Design HDL Coder Version 3.1 (R2016b)
Financial Instruments Toolbox Version 2.4 (R2016b)
Financial Toolbox Version 5.8 (R2016b)
Fixed-Point Designer Version 5.3 (R2016b)
Fuzzy Logic Toolbox Version 2.2.24 (R2016b)
Global Optimization Toolbox Version 3.4.1 (R2016b)
HDL Coder Version 3.9 (R2016b)
IEC Certification Kit Version 3.8 (R2016b)
Image Acquisition Toolbox Version 5.1 (R2016b)
Image Processing Toolbox Version 9.5 (R2016b)
Instrument Control Toolbox Version 3.10 (R2016b)
LTE System Toolbox Version 2.3 (R2016b)
MATLAB Coder Version 3.2 (R2016b)
MATLAB Compiler Version 6.3 (R2016b)
MATLAB Compiler SDK Version 6.3 (R2016b)
MATLAB Distributed Computing Server Version 6.9 (R2016b)
MATLAB Report Generator Version 5.1 (R2016b)
Mapping Toolbox Version 4.4 (R2016b)
Model Predictive Control Toolbox Version 5.2.1 (R2016b)
Neural Network Toolbox Version 9.1 (R2016b)
Optimization Toolbox Version 7.5 (R2016b)
Parallel Computing Toolbox Version 6.9 (R2016b)
Partial Differential Equation Toolbox Version 2.3 (R2016b)
Phased Array System Toolbox Version 3.3 (R2016b)
Polyspace Bug Finder Version 2.2 (R2016b)
Polyspace Code Prover Version 9.6 (R2016b)
RF Toolbox Version 3.1 (R2016b)
Risk Management Toolbox Version 1.0 (R2016b)
Robotics System Toolbox Version 1.3 (R2016b)
Robust Control Toolbox Version 6.2 (R2016b)
Signal Processing Toolbox Version 7.3 (R2016b)
SimBiology Version 5.5 (R2016b)
SimEvents Version 5.1 (R2016b)
SimRF Version 5.1 (R2016b)
Simscape Version 4.1 (R2016b)
Simscape Driveline Version 2.11 (R2016b)
Simscape Electronics Version 2.10 (R2016b)
Simscape Fluids Version 2.1 (R2016b)
Simscape Multibody Version 4.9 (R2016b)
Simscape Power Systems Version 6.6 (R2016b)
Simulink 3D Animation Version 7.6 (R2016b)
Simulink Coder Version 8.11 (R2016b)
Simulink Control Design Version 4.4 (R2016b)
Simulink Design Optimization Version 3.1 (R2016b)
Simulink Design Verifier Version 3.2 (R2016b)
Simulink Desktop Real-Time Version 5.3 (R2016b)
Simulink Report Generator Version 5.1 (R2016b)
Simulink Test Version 2.1 (R2016b)
Simulink Verification and Validation Version 3.12 (R2016b)
Stateflow Version 8.8 (R2016b)
Statistical Parametric Mapping Version 7771 (SPM12)
Statistics and Machine Learning Toolbox Version 11.0 (R2016b)
Symbolic Math Toolbox Version 7.1 (R2016b)
System Identification Toolbox Version 9.5 (R2016b)
Trading Toolbox Version 3.1 (R2016b)
WLAN System Toolbox Version 1.2 (R2016b)
Wavelet Toolbox Version 4.17 (R2016b)
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git restore ..." to discard changes in working directory)
modified: NiiStatGUI/niistatGUI_cfg.mat
no changes added to commit (use "git add" and/or "git commit -a")
You will get an error if your Excel file does not have a worksheet named "NiiStat" (case sensitive)
Error using nii_xls2mat (line 97)
Invalid field name: 'age_(yrs)'.
Error in nii_read_design (line 18)
[dMat, nuisance] = nii_xls2mat(xlsname , worksheetname,'', true);
Error in NiiStat (line 87)
[designMat, designUsesNiiImages, minOverlapValFile, nuisanceMat] = nii_read_design (xlsname);
Error in NiiStatGUI/GOButtonPushed (line 448)
NiiStat;
Error in appdesigner.internal.service.AppManagementService/tryCallback (line 207)
callback(app, event);
Error in matlab.apps.AppBase>@(source,event)tryCallback(appdesigner.internal.service.AppManagementService.instance(),app,callback,requiresEventData,event)
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 262)
Error while evaluating Button PrivateButtonPushedFcn
Dec 13, 2021 03:12 PM | Roger Newman-Norlund
RE: error running NIISTAT GUI
Are your sure your Excel file is structured properly, with a tab
titled 'NiiStat'? I think it may not like the field name for age,
please try to remove characters like _ and () to simplify the
title.
Roger
"You will get an error if your Excel file does not have a worksheet named "NiiStat" (case sensitive)
Error using nii_xls2mat (line 97)
Invalid field name: 'age_(yrs)'.
Error in nii_read_design (line 18)
[dMat, nuisance] = nii_xls2mat(xlsname , worksheetname,'', true);
Error in NiiStat (line 87)"
Roger
"You will get an error if your Excel file does not have a worksheet named "NiiStat" (case sensitive)
Error using nii_xls2mat (line 97)
Invalid field name: 'age_(yrs)'.
Error in nii_read_design (line 18)
[dMat, nuisance] = nii_xls2mat(xlsname , worksheetname,'', true);
Error in NiiStat (line 87)"