[Scilab-users] How do I access structure elements in called function?
Paul Bignier
paul.bignier at scilab-enterprises.com
Mon May 30 08:45:34 CEST 2016
Hello Sridhar,
You may either use "element(fields(1))" or "element('day')" or
"element.day" to extract your field.
Regards,
Paul
On 05/30/2016 08:22 AM, Sridhar Reddy wrote:
> S=struct('day',30,'month','may');
> fun(S);
--
Paul BIGNIER
Development engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.68
http://www.scilab-enterprises.com
More information about the users
mailing list