I would like to initialize the seed of the Random class with the system time. Because I don't know how to do this from hoc code, I wrote a NMODL POINT_PROCESS
Code: Select all
NEURON {
POINT_PROCESS c_functions
}
VERBATIM
#include <time.h>
ENDVERBATIM
FUNCTION GetSystemTime(){
VERBATIM
return time(NULL);
ENDVERBATIM
}
Anyone knows what should I do?Undefined symbol _time referenced from nrnmech.dll.