Reverse Evaluation

Create a string that, when evaluated, returns the original value.
1K download
Aggiornato 26 ago 2004

Nessuna licenza

%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.

Cita come

AJ Johnson (2024). Reverse Evaluation (https://www.mathworks.com/matlabcentral/fileexchange/5781-reverse-evaluation), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R13
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Characters and Strings in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0