Ha ha, thanks. I was trying to figure out for hours why it wasn't working, trying all sorts of combinations and all I needed was a couple of quotation marks.<br>Thank you very much.<br><br>Matt<br><br><div><span class="gmail_quote">On 03/03/2008, <b class="gmail_sendername">Eric Dubois</b> <<a href="mailto:grocer.toolbox@gmail.com">grocer.toolbox@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am not sure to understand the flavour of the problem, but, in the case shown below:<span class="q"><br>for i=1:5<br> x=[1:5;6:10]; <br> execstr('x'+string(i)+'='+string(i)+'*x')<br>end<br><br></span>Works as intended.<br>
<br>Eric.<br><br></blockquote></div><br>