Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


dpb
Posts:
9,088
Registered:
6/7/07


Re: How can I show the result of the fitting in text box?
Posted:
Feb 13, 2013 1:46 PM


On 2/13/2013 8:42 AM, Amr Sadek wrote: > I have a GUI that fits some data with custom equations. I want to show > the result of the fitting process (the equation, the Coefficients and > the goodness of the fitting) on a text box in the GUI instead of the > MATLAB command window. > Thanks...
How are you obtaining the coefficients, etc., ...?
Instead of letting that output go to the command window, save it to appropriate variables and then use sprintf() and/or friends to format as desired as input to the text box.




