uneval (Scripts) Publisher's description
from David Holl
This function converts a MATLAB variable into a text string, which when evaluated
This function converts a MATLAB variable into a text string, which when evaluated, produces the original variable having identical:
data types (single, double, int8, ...)
nested struct's of cell arrays of structs of ...
For floating point values, enough significant digits are printed to preserve machine precision.
Contrived example usage:
settings = load('some_data.mat');
string = uneval('settings2', settings)
This function probably does not work with handles to nested functions, figure handles, or java & OOP objects...
System Requirements:MATLAB 7.4 (R2007a)
Program Release Status: New Release
Program Install Support: Install and Uninstall