Search found 18 matches

by nasrin.sh
Sat Oct 01, 2011 10:01 am
Forum: Modeling networks
Topic: use matrixes in Neuron
Replies: 1
Views: 1661

use matrixes in Neuron

Dear Admin, i m trying to use a matrix in neuron to save some data which is exported from Matlab to Neuron,which is the weight between neuron cells and i stored them in a file is named "f3" and then read it by scanvar() function objectvar f3 f3.ropen("MyDataw.dat") .... proc connectcells() {local i ...
by nasrin.sh
Fri Dec 24, 2010 4:06 am
Forum: Modeling networks
Topic: running NEURON from Matlab
Replies: 1
Views: 1755

running NEURON from Matlab

i use this code [status,result]=system('C:\nrn70\bin\nrniv.exe -nobanner -c "print getcwd()" -c "quit()"') [status,result]=system('C:\nrn70\bin\nrniv.exe -nobanner main.hoc -c ') but after it execute and connect to neuron this error is displayed status = 0 result = /cygdrive/c/Users/Nasrin/Desktop/F...
by nasrin.sh
Tue Oct 12, 2010 2:30 am
Forum: Modeling networks
Topic: how to use the List class in building a model network
Replies: 1
Views: 1512

how to use the List class in building a model network

sorry I intruppt u again,I read this http://www.neuron.yale.edu/neuron/stati ... .html#Listbut I dont know how to use list to make a network.would you introduce me a sample?
by nasrin.sh
Sun Oct 03, 2010 12:29 am
Forum: Modeling networks
Topic: get NEURON data from MATLAB
Replies: 29
Views: 12212

Re: get NEURON data from MATLAB

SORRY,I found my mistake,I had not used a list!;)
by nasrin.sh
Fri Oct 01, 2010 11:44 pm
Forum: Modeling networks
Topic: get NEURON data from MATLAB
Replies: 29
Views: 12212

Re: get NEURON data from MATLAB

I use this code as you said but it has a syntax error on this line

Code: Select all

vvec = new Vector()
I think may be it can't identify the class of vector..!
by nasrin.sh
Fri Oct 01, 2010 12:25 pm
Forum: Modeling networks
Topic: get NEURON data from MATLAB
Replies: 29
Views: 12212

Re: get NEURON data from MATLAB

may you introduce me a sample which do this?
by nasrin.sh
Fri Oct 01, 2010 11:31 am
Forum: Modeling networks
Topic: get NEURON data from MATLAB
Replies: 29
Views: 12212

Re: get NEURON data from MATLAB

Hi.I'm really sorry that I waste your time with my questions,I have another question also I want to save the voltages of every neurons on the network in NEURON software and give it back to Matlab.would you tell me how can I access the votlages of neurons and save it to send it to Matlab.?...
by nasrin.sh
Thu Sep 30, 2010 2:33 pm
Forum: Modeling networks
Topic: get NEURON data from MATLAB
Replies: 29
Views: 12212

Re: get NEURON data from MATLAB

thank u so much,it works.
by nasrin.sh
Thu Sep 30, 2010 9:23 am
Forum: Modeling networks
Topic: get NEURON data from MATLAB
Replies: 29
Views: 12212

Re: get NEURON data from MATLAB

I explain what I think I did ,please tell me if it is wrong save MyDataP.dat p -ascii save MyDataW.dat w -ascii save MyDataN.dat n -ascii I use these code to write parameters to data files, [status,result]=system('C:\nrn70\bin\nrniv.exe -nobanner -c "print getcwd()" -c "quit()"') and I use the code ...
by nasrin.sh
Wed Sep 29, 2010 11:52 am
Forum: Modeling networks
Topic: get NEURON data from MATLAB
Replies: 29
Views: 12212

Re: get NEURON data from MATLAB

I put Matlab file and hoc file both in the same path
c/Users/Nasrin/Documents/MATLAB
and also set the working directory to this path
c/Users/Nasrin/Documents/MATLAB/
but I don't know why it doesn't work,shouldn't I mention the name of my hoc file in matlab code?
by nasrin.sh
Wed Sep 29, 2010 4:08 am
Forum: Modeling networks
Topic: get NEURON data from MATLAB
Replies: 29
Views: 12212

Re: get NEURON data from MATLAB

I put my .hoc file in this path: C:\nrn70\bin and the response is this: ans = 0 status = 0 result = /cygdrive/c/Users/Nasrin/Documents/MATLAB/ and my Matlab file is here: c/Users/Nasrin/Documents/MATLAB/ you know,I want when I execute the Matlab file and the compiler see this code [status,result]=sy...
by nasrin.sh
Mon Sep 27, 2010 11:51 pm
Forum: Modeling networks
Topic: get NEURON data from MATLAB
Replies: 29
Views: 12212

Re: get NEURON data from MATLAB

please someone help me,I really need an urgent answer..
by nasrin.sh
Fri Sep 24, 2010 10:28 am
Forum: Modeling networks
Topic: get NEURON data from MATLAB
Replies: 29
Views: 12212

Re: get NEURON data from MATLAB

thanks for reply.I did whatever you said.but nothing is changed.shouldn't I mention the name of .hoc file in Matlab program.?I mean in the following code: clear clc w=input('Enter the matrix of Weight(n*n):'); [n1 m1]=size(w); while(n1~=m1) w=input('Enter the matrix of Weight again:'); [n1 m1]=size(...
by nasrin.sh
Thu Sep 23, 2010 4:12 pm
Forum: Modeling networks
Topic: get NEURON data from MATLAB
Replies: 29
Views: 12212

Re: get NEURON data from MATLAB

I place My hoc file in that working directory,this code doesn't cause any errors,but when I run the MATLAB file,my .hoc file doesn't execute!how can this be done?
by nasrin.sh
Wed Sep 22, 2010 3:50 pm
Forum: Modeling networks
Topic: get NEURON data from MATLAB
Replies: 29
Views: 12212

Re: get NEURON data from MATLAB

working directory is the directory which I save the matlab file?!