changeset 11891:177611afa7c1
release-3-0-x
fix bug in cell string handling of unpack function
author |
Thorsten Meyer <thorsten.meyier@gmx.de> |
date |
Mon, 08 Dec 2008 06:45:23 +0100 |
parents |
03dab4d76975 |
children |
4364e3fab451 |
files |
scripts/ChangeLog scripts/miscellaneous/unpack.m |
diffstat |
2 files changed, 11 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-04 Thorsten Meyer <thorsten.meyier@gmx.de>
+
+ * miscellaneous/unpack.m: return directly after recursive handling
+ of cell-strings
+
2008-11-24 Ben Abbott <bpabbott@mac.com>
* plot/legend.m: Correct ording of legend labels.
--- a/scripts/miscellaneous/unpack.m
+++ b/scripts/miscellaneous/unpack.m
@@ -97,6 +97,12 @@
files = {files{:} tmpfiles{:}};
endfor
+ ## Return output if requested.
+ if (nargout > 0)
+ filelist = files;
+ endif
+
+ return
else
error ("unpack: invalid input file class, %s", class(file));
endif