Hello, Is it possible to do the same as this matlab code in scilab ? thank you in advance
obj=struct(); obj.a=1; obj.b=2; obj.c=3; tmp=fieldnames(obj); for i=1:3 disp(obj.(tmp{i})); end Guylaine Collewet [cid:image001.png@01DA89BC.68CB93C0] ingénieur de recherche équipe IRMFOOD<https://www6.rennes.inrae.fr/opaale/RECHERCHE/EQUIPES-DE-RECHERCHE/IRM-Food> guylaine.colle...@inrae.fr<mailto:guylaine.colle...@inrae.fr> UR OPAALE<https://opaale.rennes.hub.inrae.fr/> 17 avenue de Cucillé 35 044 Rennes Cedex 02 23 48 21 67 (ligne directe) 02 23 48 21 21 (standard) This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged. If you are not one of the named recipients or have received this email in error, (i) you should not read, disclose, or copy it, (ii) please notify sender of your receipt by reply email and delete this email and all attachments, (iii) Dassault Systèmes does not accept or assume any liability or responsibility for any use of or reliance on this email. Please be informed that your personal data are processed according to our data privacy policy as described on our website. Should you have any questions related to personal data protection, please contact 3DS Data Protection Officer https://www.3ds.com/privacy-policy/contact/
_______________________________________________ users mailing list - users@lists.scilab.org Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org> https://lists.scilab.org/mailman/listinfo/users