comparison struct2string.m @ 34:2b4f1d3e5630

Imporved error handling in saveeps. Fixed bug with vector fields in struct2string.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 06 Oct 2015 09:47:30 +0200
parents 8add0564ad6a
children 54d3ab296ba0
comparison
equal deleted inserted replaced
33:6db2094976a6 34:2b4f1d3e5630
18 18
19 function str = valueString(value) 19 function str = valueString(value)
20 if ischar(value) 20 if ischar(value)
21 str = ['''' value '''']; 21 str = ['''' value ''''];
22 else 22 else
23 str = num2str(value); 23 str = mat2str(value);
24 end 24 end
25 end 25 end