
function out=struct2node(Struct,n)

for i=1:length(Struct)
    app=nodo(Struct(i).tele,[],Struct(i).pos);
    app.tag=Struct(i).tag;
    app.apice=Struct(i).apice;
    app.in=Struct(i).in;
    app.in_peso-Struct(i).in_peso;
    app.in_tempo=Struct(i).in_tempo;
    app.inout=Struct(i).inout;
    app.inoutPeso=Struct(i).inoutPeso;
    app.out=Struct(i).out;
    app.out_peso=Struct(i).out_peso;
   
    out(i)=app;
end