title: concatenation between variable and string
body: <p>I am trying to concatenate a variable with a string. For example I want to get d1, d2 and d3.</p>
  
  <p>I know that to concatenate 'd' with 1 , 'd' with 2 and 'd' with 3 , it is necessary to convert  1, 2 and 3 to string. The code below work very well :</p>
  
  <pre><code>['d' num2str(1)] = 4;
  ['d' num2str(2)] = 5;
  ['d' num2str(3)] = 6; 
  </code></pre>
  
  <p>But when I tried the code below:</p>
  
  <pre><code>for i=1:3
  ['d' num2str(i)] = i+3;
  end
  </code></pre>
  
  <p>Unfortunately I always get the error : <strong>An array for multiple LHS assignment cannot contain LEX_TS_STRING</strong></p>
  
  <p>Any help will be very appreciated.</p>