<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Le 24/09/2010 10:05, Carrico, Paul a écrit :
<blockquote
 cite="mid:55A12CBC06A8C9459DCE0BBEF8122FDC0498AE81@exchsrv.AUXITROL1"
 type="cite">
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <meta name="GENERATOR" content="MSHTML 8.00.6001.18939">
  <div><span class="598405907-24092010"><font face="Arial" size="2">All,</font></span></div>
  <div><span class="598405907-24092010"></span> </div>
  <div><span class="598405907-24092010"><font face="Arial" size="2">In
a loop I would like to create several matrix but their size as well as
their number/name number depend on the file results (they're
automatically created).</font></span></div>
  <div><span class="598405907-24092010"></span> </div>
  <div><span class="598405907-24092010"><font face="Arial" size="2">Is
it possible that the name number becomes a variable ?</font></span></div>
  <div><span class="598405907-24092010"></span> </div>
  <div><span class="598405907-24092010"><font face="Arial" size="2">for
i = 1 : n</font></span></div>
  <div><span class="598405907-24092010"><font face="Arial" size="2">   
creation of A1[] / A2[] / A3[] .... An[]</font></span></div>
  <div><span class="598405907-24092010"><font face="Arial" size="2">end
for</font></span></div>
  <div><span class="598405907-24092010"></span> </div>
  <div><span class="598405907-24092010"><font face="Arial" size="2">Please
note each matrix size may be different</font></span></div>
  <div><span class="598405907-24092010"></span> </div>
  <div><span class="598405907-24092010"></span> </div>
  <div><span class="598405907-24092010"><font face="Arial" size="2">Thanks
for any advice</font></span></div>
  <div><span class="598405907-24092010"></span> </div>
  <div><span class="598405907-24092010"><font face="Arial" size="2">Paul</font></span></div>
  <pre>--------------------------------------------------------------------------------


Le présent mail et ses pièces jointes sont confidentiels et destinés à la personne ou aux personnes visée(s) ci-dessus. Si vous avez reçu cet e-mail par erreur, veuillez contacter immédiatement l'expéditeur et effacer le message de votre système. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite.

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email.

  </pre>
</blockquote>
Here is an example:<br>
<br>
i=10;mystr="matrix_"+string(i)+"=[1 2, 3 4]";execstr(mystr);<br>
<br>
Once you've ran it, matrix_10 is created and contains [1 2, 3 4].<br>
<br>
Antoine<br>
<br>
</body>
</html>