File Exchange

image thumbnail


version (1004 Bytes) by Bardo
str2syms evaluates a string representing a symbolic expression.


Updated 28 May 2018

View License

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.
syms x y
y = x;
z = str2syms('a + y')
creating symbolic variable a
z =
a + x

Cite As

Bardo (2021). str2syms(symstr) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!