str2syms evaluates symstr where symstr is a string representing a symbolic expression.
Additionally to str2sym, str2syms declares unknown variables as symbolic in the caller workspace.
Example:
syms x y
y = x;
z = str2syms('a + y')
creating symbolic variable a
z =
a + x
引用
Bardo (2024). str2syms(symstr) (https://www.mathworks.com/matlabcentral/fileexchange/67519-str2syms-symstr), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R2014b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- Mathematics and Optimization > Symbolic Math Toolbox > Symbolic Computations in MATLAB > Symbolic Variables, Expressions, Functions, and Preferences >
Help Center および MATLAB Answers で Symbolic Variables, Expressions, Functions, and Preferences についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |