Mercurial > hg > ishara
diff general/tostring.m @ 42:ae596261e75f
Various fixes and development to audio handling
author | samer |
---|---|
date | Tue, 02 Dec 2014 14:51:13 +0000 |
parents | f0a3d7d7a0e3 |
children |
line wrap: on
line diff
--- a/general/tostring.m Tue Jan 29 17:22:52 2013 +0000 +++ b/general/tostring.m Tue Dec 02 14:51:13 2014 +0000 @@ -13,7 +13,7 @@ if ischar(x), s=x; elseif isnumeric(x), sz=size(x); - if prod(sz)<16, s=mat2str(x); + if prod(sz)<16, s=mat2str(x,5); else s=sprintf('%s[%s]',class(x),mat2str(sz)); end elseif isa(x,'function_handle'), s=func2str(x); if s(1)~='@', s=['@' s]; end