Reverse Evaluation

バージョン 1.0.0.0 (1.48 KB) 作成者: AJ Johnson
Create a string that, when evaluated, returns the original value.
ダウンロード: 1K
更新 2004/8/26

ライセンスがありません

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

引用

AJ Johnson (2026). Reverse Evaluation (https://jp.mathworks.com/matlabcentral/fileexchange/5781-reverse-evaluation), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R13
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCharacters and Strings についてさらに検索
タグ タグを追加
バージョン 公開済み リリース ノート
1.0.0.0