Info
This question is closed. Reopen it to edit or answer.
Too many output arguments MatLab2012
1 view (last 30 days)
Show older comments
Hi,
I'm working with MatLab2012, spm and a program named Nedica. The error is the following:
Error using fileparts Too many output arguments.
Error in nedica_dataSet_builder>but_select_files_Callback (line 572) [StrctCmd.pathFiles, name, ext, versn] = fileparts(listFiles(1,:));
Error in gui_mainfcn (line 96) feval(varargin{:});
Error in nedica_dataSet_builder (line 33) gui_mainfcn(gui_State, varargin{:});
Error while evaluating uicontrol Callback
Since MatLab 2011, they need the fourth argument to be removed. I'm a newbie and I would like to know (in details) how to remove this fourth argument. I've read that I had to replace the fourth argument with the ~ notation, but when? where? how?
Thanks you
0 Comments
Answers (2)
Image Analyst
on 28 Nov 2012
The version arg is no longer used. Try it this way:
[StrctCmd.pathFiles, name, ext] = fileparts(listFiles(1,:));
1 Comment
Jan
on 28 Nov 2012
The 4th argument is removed by removing the 4th argument. This does not mean replacing it by ~, but removing it.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!