pb with execstr
Carrico, Paul
paul.carrico at esterline.com
Tue Sep 28 14:49:29 CEST 2010
All,
Is it possible to use execstr with a loop i.e. for keyword ? The 2
attempts harebellow failed ...
for i = 1 : nbre_groupes
for j = 1 : execstr("n" + string(i))
execstr("mfprintf(GROUPE_FLANGE" + string(i) + "(j,1))");
end;
end
or
for i = 1 : nbre_groupes
//for j = 1 : execstr("n" + string(i))
execstr("for i = 1 : n" + string(i));
execstr("mfprintf(GROUPE_FLANGE" + string(i) + "(j,1))");
execstr("end");
end
Thanks for any advice
Regards
Paul
--------------------------------------------------------------------------------
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20100928/29322970/attachment.htm>
More information about the users
mailing list