Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 15th, 2006, 6:53 PM   #1
finlejb
Newbie
 
Join Date: Feb 2006
Posts: 1
Rep Power: 0 finlejb is on a distinguished road
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.
finlejb is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:37 PM.

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