Reverse Evaluation

Version 1.0.0.0 (1,48 ko) par AJ Johnson
Create a string that, when evaluated, returns the original value.
1K téléchargements
Mise à jour 26 août 2004

Aucune licence

%REVERSE_EVAL - Created a string, that when evaluated, produces original construct.
% REVERSE_EVAL(V) returns a string which when evaluated using EVAL, is
% identical to V. Example:
% v = load('-mat','my_figure.fig');
% e = reverse_eval(v);
% isequal(v,eval(e))
% should return 1. Note that and NaN values within V will cause isequal
% to return 0, but the evaluation will still be correct.
% This currently does not support arrays whose number of dimensions are
% greater than 2, or objects.
%
% See also FIG2M.

Citation pour cette source

AJ Johnson (2026). Reverse Evaluation (https://fr.mathworks.com/matlabcentral/fileexchange/5781-reverse-evaluation), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R13
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Characters and Strings dans Help Center et MATLAB Answers
Version Publié le Notes de version
1.0.0.0