Help me about GUI in matlab ?

1 Ansicht (letzte 30 Tage)
Nguyen Trong Nhan
Nguyen Trong Nhan am 24 Dez. 2013
Beantwortet: Matt J am 24 Dez. 2013
For example I make a GUIDE to find the derivative of a function ? I make a edit text (with tag is edit1) to type a function input. And a static text (with tag is text1) to output the derivative of function. Normally, if I type a number in edit text, I use the str2double or str2num(get(handles.edit1,'string')) to convert the number to string. But now I type a functions (Ex: x^2 + x +1) in edit text, How can I convert the string to a function. Similarly, How can I convert a funtions (ExL 2x + 1) to string to set it in the static text. Help me. Thank you very much.

Akzeptierte Antwort

Matt J
Matt J am 24 Dez. 2013

Weitere Antworten (0)

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by