GUİ edit box setting
3 views (last 30 days)
Show older comments
I found an answer which is in the sym type.I need to convert it to the string type in order to put it in a edit box in GUI.
How can I do that?
2 Comments
Accepted Answer
Jan
on 10 Dec 2022
syms x
eq = sin(x) == pi/2;
sol = solve(eq);
s = string(sol);
set(HandleOfTheEditField, 'String', s)
1 Comment
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!