I am using PSO add-in for ANN developed by George Ever and extended Trisha using MATLAB but I am getting the following error:

"Struct contents reference from a non-struct array object."

Here is the code:

function net=subsasgn(net,subscripts,v)

 Struct net = struct(net);

netname = 'NET';

net = network_subsasgn(net,subscripts,v,netname);

Similar questions and discussions