help > Error: Output argument not assigned
Showing 1-4 of 4 posts
Display:
Results per page:
Oct 31, 2016  12:10 AM | Emmanuel Pua - Murdoch Childrens Research Institute
Error: Output argument not assigned
Dear CONN team,

Thank you for your work on the latest version of CONN.

I receive the error below when using v17 to load data preprocessed from v16. There were no errors when using v16.

Were there any changes in the assignment of outputs in v17? Any assistance will be much appreciated.

Thanks,
Emmanuel



ERROR DESCRIPTION:

Output argument "h" (and maybe others) not assigned during call to "/home/emmanuelp/Documents/MATLAB/conn/conn_menu_plotmatrix.m>conn_menu_plotmatrix".
Error in ==> conn_timedwaitbar>waitbar at 92
[nill,hax2]=conn_menu_plotmatrix(ht,[-3,1,10,1],[.3 .4 .4 .1]);
Error in ==> conn_timedwaitbar at 13
[h hsteps]=waitbar(a,b);
Error in ==> conn_process>conn_waitbar at 4581
else h=conn_timedwaitbar(varargin{:}); end
Error in ==> conn_process at 225
h=conn_waitbar(0,['Step ',num2str(sum(options<=1)),'/',num2str(length(options)),': Segmentation']);
Error in ==> conn_process at 15
case 'setup', disp(['CONN: RUNNING SETUP STEP']); conn_process([0:4,4.5,5]);
Error in ==> conn at 3190
else conn_process('setup');
Error in ==> conn_menumanager at 119
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN v.17.a
SPM12 + DEM FieldMap MEEGtools conn
Matlab v.2010b
storage: 10258.8Gb available
Nov 1, 2016  02:11 AM | Alfonso Nieto-Castanon - Boston University
RE: Error: Output argument not assigned
Dear Emmanuel,

Thanks for reporting this, that was in fact a bug in 17a when dealing with pre-2014a Matlab versions. This has been fixed in the new 17a release I have just uploaded. Please let me know if you run into any other issues.

Best
Alfonso
Originally posted by Emmanuel Pua:
Dear CONN team,

Thank you for your work on the latest version of CONN.

I receive the error below when using v17 to load data preprocessed from v16. There were no errors when using v16.

Were there any changes in the assignment of outputs in v17? Any assistance will be much appreciated.

Thanks,
Emmanuel



ERROR DESCRIPTION:

Output argument "h" (and maybe others) not assigned during call to "/home/emmanuelp/Documents/MATLAB/conn/conn_menu_plotmatrix.m>conn_menu_plotmatrix".
Error in ==> conn_timedwaitbar>waitbar at 92
[nill,hax2]=conn_menu_plotmatrix(ht,[-3,1,10,1],[.3 .4 .4 .1]);
Error in ==> conn_timedwaitbar at 13
[h hsteps]=waitbar(a,b);
Error in ==> conn_process>conn_waitbar at 4581
else h=conn_timedwaitbar(varargin{:}); end
Error in ==> conn_process at 225
h=conn_waitbar(0,['Step ',num2str(sum(options<=1)),'/',num2str(length(options)),': Segmentation']);
Error in ==> conn_process at 15
case 'setup', disp(['CONN: RUNNING SETUP STEP']); conn_process([0:4,4.5,5]);
Error in ==> conn at 3190
else conn_process('setup');
Error in ==> conn_menumanager at 119
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN v.17.a
SPM12 + DEM FieldMap MEEGtools conn
Matlab v.2010b
storage: 10258.8Gb available
Nov 4, 2016  01:11 AM | Emmanuel Pua - Murdoch Childrens Research Institute
RE: Error: Output argument not assigned
Thanks Alfonso, the above bug has been resolved. Another error surfaced at the denoising stage:


ERROR DESCRIPTION:

Error using ==> load
Unable to read file /isilon/home/emmanuelp/Desktop/ABIDE/ABIDE IQ/NYU_IQ/NYU-I IQ/results/preprocessing/DATA_Subject001_Condition001.mat: No such file or directory.
Error in ==> conn_vol at 3
load(filename,'V');
Error in ==> conn at 3921
CONN_h.menus.m_analyses.Y=conn_vol(filename);
Error in ==> conn at 3733
if ~conn_projectmanager('ispending'), conn gui_analyses; end
Error in ==> conn_menumanager at 119
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});

CONN v.17.a
SPM12 + DEM FieldMap MEEGtools conn
Matlab v.2010b
storage: 9751.3Gb available
Nov 4, 2016  05:11 PM | Alfonso Nieto-Castanon - Boston University
RE: Error: Output argument not assigned
Hi Emmanuel,

Thanks for reporting this. I am trying to replicate this issue, one way that I can do that is if I first use "save as" to rename a project, and then run the Denoising step (without first running the Setup step). Could you please let me know whether this is what happened in your case as well? If so, then simply re-running the setup and denosing step should fix this issue. When using "save as" to create a copy of your CONN project, only the project definitions are saved to your new project but none of the analysis files are replicated/transfered to the new project, so you typically need to re-run all CONN steps starting from Setup (I will modify the GUI to try to make it clearer what steps need to be re-run in this case). In any way, let me know if this scenario does not fit your case.  

Hope this helps
Alfonso
 
Originally posted by Emmanuel Pua:
Thanks Alfonso, the above bug has been resolved. Another error surfaced at the denoising stage:


ERROR DESCRIPTION:

Error using ==> load
Unable to read file /isilon/home/emmanuelp/Desktop/ABIDE/ABIDE IQ/NYU_IQ/NYU-I IQ/results/preprocessing/DATA_Subject001_Condition001.mat: No such file or directory.
Error in ==> conn_vol at 3
load(filename,'V');
Error in ==> conn at 3921
CONN_h.menus.m_analyses.Y=conn_vol(filename);
Error in ==> conn at 3733
if ~conn_projectmanager('ispending'), conn gui_analyses; end
Error in ==> conn_menumanager at 119
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});

CONN v.17.a
SPM12 + DEM FieldMap MEEGtools conn
Matlab v.2010b
storage: 9751.3Gb available