Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Other Programming Languages (http://www.programmingforums.org/forum38.html)
-   -   Matlab - How to display a variable and text string in same disp command (http://www.programmingforums.org/showthread.php?t=8422)

finlejb Feb 15th, 2006 7:53 PM

Matlab - How to display a variable and text string in same disp command
 
I know it's a really basic question, but I'm in an introductory Matlab course and I can't figure out how to display a variable that has a text string in it, and more text in the same command.

I prompt the user for their name, and then later in the program, I'm supposed to display, for example, "Jim's results are: ", if they entered Jim as their name. How do I do that? Thanks for the help.


All times are GMT -5. The time now is 9:14 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC