Page 1 of 1

Scale free Network

Posted: Tue Mar 20, 2012 6:32 am
by Albero
I need to build a network with scale free connection. I have a matlab script that generates a .dat file rapresenting a scale free connection matrix, how can i load this .dat file in neuron in the form of a Matrix object?

Re: Scale free Network

Posted: Tue Mar 20, 2012 10:11 am
by ted
Easiest way to get data into NEURON is to write the data as plain text, then use NEURON to read the contents of the text file. See the Programmer's Reference for documentation of the File class and the relevant methods (read() etc.) of the Vector and Matrix classes.

Re: Scale free Network

Posted: Fri Mar 23, 2012 1:14 pm
by Albero
I found what i was searching in the matrix class, thank you