title: Define multiple variables at the same time in MATLAB
body: <p>I want to define multiple variables at the same time.
  For example, I want to define</p>
  
  <pre><code>a = 1
  b = 2
  c = 3
  </code></pre>
  
  <p>like this.</p>
  
  <p>So I made a matrix with <code>[a,b,c]</code>:</p>
  
  <pre><code>x = [a, b, c];
  
  y = [1, 2, 3];
  
  x = y
  </code></pre>
  
  <p>So I want to get the following answer.</p>
  
  <pre><code>a = 1
  b = 2
  c = 3
  </code></pre>
  
  <p>If I use</p>
  
  <pre><code>[a, b, c] = deal(1, 2, 3)
  </code></pre>
  
  <p>then, I can get</p>
  
  <pre><code>a = 1
  b = 2
  c = 3
  </code></pre>
  
  <p>But I want to use matrix <code>x</code> instead of <code>[a, b, c]</code></p>
  
  <p>So if I use, </p>
  
  <pre><code>x = deal(1,2,3)
  </code></pre>
  
  <p>there is an error.</p>
  
  <p>Is there any solution? </p>