Plotter.plot(integratorData, .005f, "Integrator");
Plotter.plot(neuronRecorder.getData(), "Neuron #0");
Plotter.plot(((Ensemble) network.getNode("integrator")).getSpikePattern());
MatlabExporter me = new MatlabExporter();
me.add("input", inputRecorder.getData());
me.add("integrator", integratorRecorder.getData(), .01f);
me.add("neuron", neuronRecorder.getData());
me.write(new File("export.mat"));
} catch (SimulationException e) {
e.printStackTrace();
} catch (StructuralException e) {
e.printStackTrace();