[Scilab-users] Problem with get_scicos_time() discrete time c block

Clément David clement.david at scilab-enterprises.com
Mon Sep 9 10:31:42 CEST 2013


Hello,

get_scicos_time is used on some important block [1] and will always have
a value for all blocks (this a simulator state). Did you try using the
Xcos Debug/Trace to print out the current simulator time ?

[1]:
http://cgit.scilab.org/cgit.cgi/scilab/tree/scilab/modules/scicos_blocks/src/c/evtdly4.c



Le dimanche 25 août 2013 à 02:01 -0700, cpt_nemo a écrit :
> I am trying to create a discrete time block in c that is used inside Xcos.
> 
> When using the "get_scicos_time()" - function the result is always zero. Can
> this function only be used in continuous time systems? Is there another
> possibility to access the simulation time from a c source.
> 
> My Scilab version is 5.4.1, 64 bit on Windows 7
> 
> 
> 
> --
> View this message in context: http://mailinglists.scilab.org/Problem-with-get-scicos-time-discrete-time-c-block-tp4027276.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

-- 
Clément DAVID
Development Engineer / Account Manager
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Mobile: +33.6.26.26.51.90
Phone: +33.2.90.22.78.96
http://www.scilab-enterprises.com




More information about the users mailing list