[scilab-Users] pb with execstr

Carrico, Paul paul.carrico at esterline.com
Tue Sep 28 15:14:35 CEST 2010


sorry but i finally found the answer .... i.e in using evstr instead of execstr

Sorry

Paul


________________________________

De : Carrico, Paul [mailto:paul.carrico at esterline.com] 
Envoyé : mardi 28 septembre 2010 14:49
À : users at lists.scilab.org
Objet : [scilab-Users] pb with execstr



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.


--------------------------------------------------------------------------------


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/e44460bc/attachment.htm>


More information about the users mailing list