Concatenate string with variable

  • Follow


Hello I would like to put on a plot the 
'This is the number ' + number_var

where number_var is a number variable.

This would be useful to let me create dynamic titles on run time.

I would like to thank you in advance for your help

Regards
Alex
0
Reply Alex 11/5/2010 1:50:03 PM


"Alex " <alaios@yahoo.com> wrote in message 
news:ib122b$a4c$1@fred.mathworks.com...
> Hello I would like to put on a plot the 'This is the number ' + number_var
>
> where number_var is a number variable.
>
> This would be useful to let me create dynamic titles on run time.
>
> I would like to thank you in advance for your help

HELP SPRINTF
HELP NUM2STR
HELP HORZCAT
HELP TEXT
HELP TITLE

-- 
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on 
http://www.mathworks.com 

0
Reply Steven_Lord 11/5/2010 1:56:14 PM


1 Replies
714 Views

(page loaded in 0.033 seconds)

Similiar Articles:













7/20/2012 2:57:50 PM


Reply: