GUİ edit box setting
18 次查看(过去 30 天)
显示 更早的评论
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?
采纳的回答
Jan
2022-12-10
syms x
eq = sin(x) == pi/2;
sol = solve(eq);
s = string(sol);
set(HandleOfTheEditField, 'String', s)
1 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!