MODELELSYNCONN-MakesynapticconnectionsamongmodelelelementsMODEL=MODELELSYNCONN(MODEL,INDS,W,PROTOSYN)PROTOSYNcanbeaprototpesynapseorthenumberofamodelelelementinMODELthatshouldserveasaprototypesynapse.
INDSisthesubsetofthemodelelelementstooperateonforconnecting.
Forexample,iftheneuronsinyourmodelare123,youmightsetINDSto[123].(Thiswayyoudon't have to specify weights of connections between elements that are not numbered 1 2 3). W(i,j) should be the weight of the synaptic connection from element INDS(i) to element INDS(j). If 2 elements are not to be connected, then NaN should be passed as the weight.